/* =========================================
           VARIABLES Y RESET
           ========================================= */
:root {
  --color-dark-green: #172e28;
  --color-medium-green: #486d62;
  --color-bronze: #b16e3f;
  --color-bronze-hover: #965a31;
  --color-light: #f8f9fa;
  --color-white: #ffffff;
  --color-text: #333333;

  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;

  --max-container-width: 1200px;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-light);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-dark-green);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================================
               UTILIDADES Y CONTENEDORES
               ========================================= */
.container {
  width: 100%;
  max-width: var(--max-container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-subtitle {
  text-align: center;
  color: var(--color-medium-green);
  margin-bottom: 50px;
  font-size: 18px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--color-bronze);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: var(--color-bronze-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(177, 110, 63, 0.4);
}

/* =========================================
               HEADER & NAVEGACIÓN
               ========================================= */
header {
  background-color: var(--color-dark-green);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--color-white);
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--color-bronze);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--color-bronze);
}

.nav-link:hover::after {
  width: 100%;
}

/* Menú hamburguesa (móvil) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 2px;
}

/* =========================================
               HERO (INICIO)
               ========================================= */
.hero {
  background: linear-gradient(
      135deg,
      rgba(23, 46, 40, 0.95),
      rgba(72, 109, 98, 0.85)
    ),
    url("img/edificiosaxis.avif");
  background-size: cover;
  background-position: center;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--color-white);
}

.hero-content h1 {
  font-size: 40px;
  color: var(--color-white);
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 19px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* =========================================
               NOSOTROS
               ========================================= */
.about {
  background-color: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(23, 46, 40, 0.15);
}

.about-text h3 {
  text-align: center;
  font-size: 23px;
  margin-bottom: 16px;
  color: var(--color-medium-green);
}

.about-text p {
  text-align: justify;
  font-size: 18px;
  margin-bottom: 16px;
  color: #555;
}

.stats {
  margin: 32px auto 0 auto;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.stat-item h4 {
  font-size: 40px;
  color: var(--color-bronze);
}

.stat-item p {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-dark-green);
}

/* =========================================
               SERVICIOS
               ========================================= */
.services {
  background-color: var(--color-light);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.service-card {
  background-color: var(--color-white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  border-bottom: 4px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid var(--color-bronze);
  box-shadow: 0 15px 30px rgba(23, 46, 40, 0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(72, 109, 98, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--color-bronze);
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 19px;
}

.service-card p {
  color: #666;
  font-size: 16px;
}

/* =========================================
               PROCESO DE ACTIVIDADES
               ========================================= */

.workflow-section {
  font-family: "Montserrat", sans-serif;
  padding: 80px 0;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.workflow-container {
  width: 84%;
  max-width: 1300px;
  margin: auto;
}

.workflow-header {
  text-align: center;
  margin-bottom: 70px;
}

.workflow-tag {
  display: inline-block;
  background: #d9f5df;
  color: #2f7d46;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.workflow-header h2 {
  font-size: 32px;
  color: #172e28;
  margin-bottom: 15px;
}

.workflow-header p {
  font-family: "Open Sans", sans-serif;
  line-height: 29px;
  font-size: 18px;
  font-weight: 400;
  max-width: 700px;
  margin: auto;
  color: #486d62;
}

/* Timeline */

.workflow-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.workflow-timeline::before {
  content: "";
  position: absolute;
  top: 55px;
  left: 8%;
  width: 84%;
  height: 3px;
  background: #3e685d;
  z-index: 0;
}

.workflow-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 35px 28px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transition: 0.35s ease;
}

.workflow-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.workflow-count {
  display: block;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #172e28;
  margin-bottom: 10px;
}

.workflow-card h3 {
  font-size: 20px;
  color: #172e28;
  margin-bottom: 10px;
}

.workflow-card p {
  color: #486d62;
  line-height: 1.8;
  font-size: 16px;
}

/* =========================================
               CONTACTO
               ========================================= */
.contact {
  background-color: var(--color-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 30px;
  margin-bottom: 24px;
}

.contact-info p {
  margin-bottom: 32px;
  color: #555;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.info-icon {
  color: var(--color-bronze);
  font-size: 19px;
  margin-top: 4px;
}

.contact-form {
  background-color: var(--color-light);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-dark-green);
  font-size: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 16px;
  transition: var(--transition);
  background-color: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-medium-green);
  box-shadow: 0 0 0 3px rgba(72, 109, 98, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  font-size: 16px;
}

/* =========================================
               FOOTER
               ========================================= */
footer {
  background-color: var(--color-dark-green);
  color: var(--color-white);
  text-align: center;
  padding: 30px 0;
  border-top: 4px solid var(--color-bronze);
}

/* =========================================
               MEDIA QUERIES (RESPONSIVE)
               ========================================= */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 60px;
  }

  .about-grid {
    max-width: 90%;
    margin: auto;
    grid-template-columns: 1fr;
  }

  .services-grid {
    max-width: 90%;
    margin: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .contact-form {
    width: 80%;
    margin: auto;
  }

  .workflow-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-timeline::before {
    display: none;
  }
}

/* Desktop (min-width: 1025px) */
@media (min-width: 1025px) {
  .hero-content h1 {
    font-size: 64px;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* Mobile Menu Toggle (max-width: 767px) */
@media (max-width: 767px) {
  .nav-container {
    display: flex;
    justify-content: right;
    height: 80px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--color-dark-green);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: var(--transition);
  }

  .nav-menu.active {
    left: 0;
  }

  .logo {
    position: absolute;
    left: 20px;
  }

  .nav-link {
    font-size: 18px;
  }

  .hero-content h1 {
    font-size: 24px;
  }
  .hero-content p {
    font-size: 17px;
  }

  .btn {
    padding: 12px 28px;
    font-size: 17px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about h2 {
    font-size: 24px;
  }

  .about h3 {
    font-size: 20px;
  }

  .about p {
    font-size: 17px;
    text-align: left;
  }

  .stats {
    flex-direction: column;
    gap: 10px;
  }

  .stat-item h4 {
    font-size: 40px;
  }

  .stat-item p {
    font-size: 20px;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services h2 {
    font-size: 24px;
  }

  .services p {
    font-size: 17px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact h2 {
    font-size: 24px;
  }
  .contact p {
    font-size: 17px;
  }
  .contact-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .contact-info h3 {
    font-size: 20px;
  }
  .contact-info p {
    font-size: 17px;
  }

  .contact-info span {
    display: none;
  }

  .contact-form {
    width: 100%;
    margin: auto;
  }

  .workflow-timeline {
    grid-template-columns: 1fr;
  }

  .workflow-header h2 {
    font-size: 24px;
  }
  .workflow-header p {
    font-size: 17px;
  }
  .workflow-card {
    padding: 30px 24px;
  }
}



/* Contenedor general del footer */
.site-footer {
  background-color: #172e28;;
  color: #ffffff;
  padding: 40px 0 0 0;
  font-family: "Open Sans", sans-serif;
}

/* Sistema de cuadrícula para las columnas */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding-bottom: 30px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

p {
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
}

/* Estilos de los widgets/columnas */
.footer-widget h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-widget a:hover {
  color: #3498db;
}

/* Logo */
.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 15px;
}

/* Barra inferior de copyright */
.footer-bottom {
  background-color: #172e28;;
  text-align: center;
  padding: 15px 0;
  font-size: 16px;
  margin-top: 20px;
}

.footer-bottom p {
  margin: 0;
}
