*,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  user-select: none;
}

:root {
  --primary-color: #004aad;
  --primary-dark: #003388;

  --accent-green: #25d366;
  --accent-light: #3ae57f;
  --accent-hover-green: #1da851;

  --text-dark: #1a1a1a;
  --text-light: #555;
  --bg-light: #f7f8f9;
  --bg-white: #fff;
  --border-radius: 4px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
}

header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0.9rem 1.5rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.logo-img {
  height: 45px;
  width: auto;
  display: block;
}

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

.nav-link-item {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-dark);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s;
}

.nav-link-item::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  bottom: -4px;
  left: 0;
  background: var(--primary-color);
  transition: width 0.3s ease-in-out;
  border-radius: 1px;
}

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

.nav-link-item:hover::after {
  width: 100%;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary-color);
}

#menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 58px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  #menu-toggle:checked + .menu-icon + .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link-item::after {
    display: none;
  }
}

.btn-primary {
  background: var(--accent-light);
  color: var(--text-dark);
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: var(--accent-hover-green);
  color: var(--bg-white);
}

.section-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-description,
.services-description,
.cobertura-description {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.hero {
  height: 90vh;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.342), rgba(0, 0, 0, 0)),
    url("public/Hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding-top: 5rem;
}

.hero-content {
  max-width: 900px;
  padding: 2rem 1.5rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 3rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .hero-subtitle {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .btn-primary {
    font-size: 1.1rem;
    padding: 0.9rem 2.2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .about-description,
  .services-description,
  .cobertura-description {
    font-size: 1rem;
  }
}

.about {
  padding: 6rem 1.5rem;
  background: var(--bg-white);
  text-align: center;
}

.about-container {
  max-width: 1200px;
  margin: auto;
}

.highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.highlight {
  background: var(--bg-light);
  flex: 1 1 300px;
  padding: 2.5rem 1.5rem;
  border-radius: var(--border-radius);
  border-left: 5px solid var(--text-light);
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: all 0.3s ease;
}

.highlight:hover {
  border-left-color: var(--accent-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.highlight .icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.highlight-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.highlight-description {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.about-images {
  width: 100%;
}

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

.images-row img {
  width: 100%;
  height: 200px;
  border-radius: var(--border-radius);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.images-row img:hover {
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .highlight {
    flex: 1 1 100%;
  }
  .images-row {
    grid-template-columns: 1fr;
  }
}

.services {
  padding: 6rem 1.5rem;
  background: var(--bg-light);
  text-align: center;
}

.services-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-card {
  background: var(--bg-white);
  flex: 1 1 300px;
  padding: 2.5rem 1.5rem;
  border-radius: var(--border-radius);
  border-top: 5px solid var(--text-light);
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-top-color: var(--accent-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card .icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

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

.services-images img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.services-images img:hover {
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .service-card {
    flex: 1 1 100%;
  }
  .services-images {
    grid-template-columns: 1fr;
  }
}

.cobertura {
  padding: 6rem 1.5rem;
  background: var(--bg-white);
  text-align: center;
}

.cobertura-container {
  max-width: 1200px;
  margin: auto;
}

.provincias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.provincia-card {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: all 0.3s ease;
  cursor: default;
  border-left: 5px solid var(--text-light);
}

.provincia-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent-green);
}

.provincia-card .icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.provincia-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.provincia-text {
  font-size: 0.95rem;
  color: var(--text-light);
}

.provincia-card.cordoba {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
  border-left: none;
  border-top: 5px solid var(--accent-green);
  background: var(--bg-light);
}

.footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 4rem 1.5rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 900px;
  margin: auto;
}

.footer-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--accent-green);
  text-transform: uppercase;
}

.footer-text {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: #e0f7fa;
  line-height: 1.6;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-whatsapp,
.btn-email {
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
}

.btn-whatsapp {
  background: var(--accent-light);
  color: var(--text-dark);
}

.btn-whatsapp:hover {
  background: var(--bg-white);
}

.btn-email {
  background: #256bd3;
  color: var(--bg-white);
  border: 1px solid var(--accent-green);
}

.btn-email:hover {
  background: #256ad357;
}

.footer-location {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-bottom {
  font-size: 0.85rem;
  color: #cce0ff;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .footer-title {
    font-size: 2rem;
  }
  .footer-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }
  .btn-whatsapp,
  .btn-email {
    width: 90%;
    max-width: 300px;
    margin: 0 auto;
  }
}
.section-title,
.highlight,
.service-card,
.provincia-card,
.hero-content,
.about-images,
.services-images,
.footer-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
