
:root {
  --green-main: #008f5a;
  --green-dark: #006644;
  --bg-light: #f5f7f9;
  --text-main: #18212f;
  --text-soft: #637081;
  --border-soft: #dde3eb;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.07);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --transition: all 0.25s ease;
}

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

body {
  font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: white;
  line-height: 1.5;
}

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

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

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

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(221,227,235,0.8);
}

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

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

.logo img {
  height: 40px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.logo-text span:first-child {
  font-weight: 600;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.92rem;
}

nav a {
  position: relative;
  padding-bottom: 0.15rem;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--green-main);
  transition: width 0.2s ease;
}

nav a:hover::after {
  width: 100%;
}

.btn-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  white-space: nowrap;
}

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

main {
  scroll-behavior: smooth;
}

section {
  padding: 1.5rem 0;
}

/* Hero */
.hero {
  background: radial-gradient(circle at top left, #e0f4ec 0, #ffffff 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 1rem 0 1rem;
}

.hero-eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.hero-title {
  font-size: clamp(2.1rem, 3.3vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.hero-title span.dc {
  font-weight: 800;
  color: var(--green-main);
  letter-spacing: 0.05em;
}

.hero-subtitle {
  color: var(--text-soft);
  font-size: 0.98rem;
  max-width: 36rem;
  margin-bottom: 0.9rem;
}

.hero-extra {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.btn-ghost {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: white;
  font-size: 0.9rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: var(--transition);
}

.btn-ghost2 {
  font-size: 0.9rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: var(--transition);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(0,143,90,0.07);
  border: 1px dashed rgba(0,143,90,0.3);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.btn-ghost:hover {
  border-color: var(--green-main);
  color: var(--green-dark);
  transform: translateY(-1px);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.hero-badge {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(0,143,90,0.07);
  border: 1px dashed rgba(0,143,90,0.3);
}

.hero-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(221,227,235,0.7);
}

.hero-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green-main);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.metric {
  padding: 0.8rem;
  border-radius: 14px;
  background: var(--bg-light);
  font-size: 0.8rem;
}

.metric strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
}

.hero-note {
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* Sections */
.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  color: var(--text-soft);
  font-size: 0.95rem;
  /* max-width: 30rem; */
  margin-bottom: 1.8rem;
}

/* Cards / grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 0.7rem;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-color: rgba(0,143,90,0.35);
}

.card-tag {
  display: inline-block;
  font-size: 1.0rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-dark);
  margin-bottom: 0.1rem;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.1rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 0.7rem;
}

.card ul {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.card ul li::before {
  content: "•";
  color: var(--green-main);
  display: inline-block;
  width: 1rem;
}

/* Licitaciones / steps */
.licitaciones-bg {
  background: var(--bg-light);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  margin-top: 0.6rem;
}

.pill {
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: white;
  border: 1px dashed var(--border-soft);
}

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.steps-list {
  list-style: none;
  counter-reset: steps;
}

.steps-list li {
  counter-increment: steps;
  margin-bottom: 1.1rem;
  padding-left: 2.3rem;
  position: relative;
}

.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: rgba(0,143,90,0.1);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.steps-list h3 {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.steps-list p {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.steps-card {
  background: white;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  font-size: 0.87rem;
  color: var(--text-soft);
}

/* Contacto */
.contact {
  background: #051c13;
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact p {
  color: rgba(255,255,255,0.8);
}

.contact-form {
  background: rgba(0,0,0,0.35);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.field {
  margin-bottom: 0.9rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
  color: rgba(255,255,255,0.9);
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(2,34,23,0.9);
  color: white;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.field textarea {
  border-radius: 16px;
  min-height: 90px;
  resize: vertical;
  line-height: 1.4;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 1px var(--green-main);
}

.btn-cta.dark {
  background: linear-gradient(135deg, #00b46d, #00e083);
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
  width: 100%;
  justify-content: center;
  text-align: center;
  display: inline-block;
  margin-top: 0.2rem;
}

/* Alianzas logos */
.alliances-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
  justify-content: flex-end;
}

.alliances-logos img {
  height: 42px;
  filter: saturate(0.9);
  opacity: 0.9;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.alliances-logos img:hover {
  transform: translateY(-2px);
  opacity: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-radius: 999px;
}

/* Certificaciones */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.cert-logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  margin-top: 1.8rem;
  justify-content: flex-end;
}

.cert-logos-row img {
  height: 44px;
  opacity: 0.95;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cert-logos-row img:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.alliance-logo-box {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0rem;
  background: #ffffff;
  border: 0px solid #dde3eb;
  border-radius: 5px;
  padding: 0.0rem;
}
.alliance-logo-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Footer */
footer {
  border-top: 1px solid #0b2a1c;
  background: #03140d;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
}

.footer-inner {
  padding: 1rem 0 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .steps,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    margin-top: 0.8rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cert-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  nav ul {
    display: none;
  }

  .navbar {
    flex-wrap: wrap;
  }

  section {
    padding: 3rem 0;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}
