
:root {
  --primary: #2C3E50;
  --secondary: #E74C3C;
  --accent: #3498DB;
  --neutral: #ECF0F1;
  --background: #FFFFFF;
  --text: #333333;
  --text-secondary: #7F8C8D;
  --success: #27AE60;
  --warning: #F39C12;
  --link: #2980B9;
  --shadow: rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Karla', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Spectral', serif;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--primary);
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: var(--transition);
}

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

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

ul {
  list-style-type: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 4rem 0;
}


.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  text-align: center;
  font-size: 1rem;
}

.btn:hover, .btn:focus {
  background-color: var(--secondary);
  color: white;
  transform: translateY(-2px);
}

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

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--primary);
}

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

.btn-accent:hover, .btn-accent:focus {
  background-color: var(--primary);
}

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

.btn-outline:hover, .btn-outline:focus {
  background-color: var(--primary);
  color: white;
}


header {
  background-color: white;
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}


.nav-container {
  position: relative;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--secondary);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 5px 15px var(--shadow);
  border-radius: var(--radius);
  width: 250px;
  padding: 1rem;
  display: none;
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  display: block;
}

.dropdown-preview {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dropdown-preview img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
}

.dropdown-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: var(--primary);
}

.dropdown-description {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 500;
}

.contact-phone i {
  color: var(--secondary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}


.hero {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
  position: relative;
  padding: 6rem 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

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


.card {
  background-color: white;
  border-radius: var(--radius);
  box-shadow: 0 5px 15px var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--shadow);
}

.card-img {
  height: 200px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.card-body {
  padding: 1.5rem;
}

.card-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.card-text {
  margin-bottom: 1.5rem;
}


.services {
  background-color: var(--neutral);
}

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

.service-card {
  background-color: white;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow);
  transition: var(--transition);
}

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

.service-icon {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.service-title {
  margin-bottom: 1rem;
}

.service-description {
  color: var(--text-secondary);
}


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

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  background-color: var(--primary);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.step:hover .step-number {
  background-color: var(--secondary);
  transform: scale(1.1);
}


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

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  font-size: 2rem;
  color: var(--success);
  margin-top: 0.25rem;
}

.benefit-text h4 {
  margin-bottom: 0.5rem;
}


.catalog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.category-btn {
  padding: 0.5rem 1rem;
  background-color: var(--neutral);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.category-btn:hover, .category-btn.active {
  background-color: var(--primary);
  color: white;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.equipment-item {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  cursor: pointer;
  transition: var(--transition);
}

.equipment-item:hover {
  transform: translateY(-5px);
}

.equipment-img {
  height: 180px;
  overflow: hidden;
}

.equipment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.equipment-info {
  padding: 1.5rem;
}

.equipment-title {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.equipment-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}


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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.form-check-input {
  margin-right: 0.5rem;
}

.form-message {
  min-height: 150px;
}


.calculator {
  background-color: var(--neutral);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 3rem;
}

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

.form-row {
  grid-column: 1 / -1;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.calculator-result {
  background-color: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 5px 15px var(--shadow);
}

.result-summary {
  margin-bottom: 1.5rem;
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.result-table th, .result-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--neutral);
}

.result-table th {
  text-align: left;
  font-weight: 500;
}

.chart-container {
  height: 300px;
  margin-top: 2rem;
}


.checklist-section {
  background-color: var(--neutral);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  background-color: white;
  border-radius: var(--radius);
  padding: 1rem;
  transition: var(--transition);
}

.checklist-item:hover {
  box-shadow: 0 5px 15px var(--shadow);
}

.checklist-checkbox {
  margin-right: 1rem;
  transform: scale(1.2);
}

.checklist-text {
  flex: 1;
}

.checklist-item.completed .checklist-text {
  text-decoration: line-through;
  color: var(--text-secondary);
}


footer {
  background-color: var(--primary);
  color: white;
  padding: 3rem 0 2rem;
}

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

.footer-logo img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-top: 0.25rem;
}

.footer-title {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 0.5rem;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}


.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  border-radius: var(--radius);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--neutral);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--neutral);
  text-align: right;
}


.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  padding: 1rem 2rem;
  box-shadow: 0 -5px 15px var(--shadow);
  z-index: 1500;
  transform: translateY(100%);
  transition: var(--transition);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
  margin-bottom: 0;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-settings {
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.cookie-category {
  margin-bottom: 1.5rem;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-category-title {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--success);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.cookie-category-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
}


.iti {
  width: 100%;
}


@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .calculator-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }
  
  .contact-header {
    width: 100%;
    justify-content: space-between;
    margin-top: 1rem;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-container {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: 5px 0 15px var(--shadow);
    transition: var(--transition);
    padding: 2rem;
    overflow-y: auto;
    z-index: 1500;
  }
  
  .nav-container.active {
    left: 0;
  }
  
  .main-nav {
    flex-direction: column;
  }
  
  .nav-item {
    margin-bottom: 1rem;
  }
  
  .nav-dropdown {
    position: static;
    box-shadow: none;
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    display: none;
  }
  
  .nav-item.active .nav-dropdown {
    display: block;
  }
  
  .dropdown-preview {
    grid-template-columns: 60px 1fr;
  }
  
  .dropdown-preview img {
    width: 60px;
    height: 45px;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .services-grid, .process-steps, .benefits-list, .equipment-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .btn {
    display: block;
    width: 100%;
  }
  
  .header-container {
    padding: 1rem;
  }
  
  .contact-phone span {
    display: none;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .category-btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}