:root {
  --dark:    #0d1b2a;
  --dark2:   #112236;
  --gold:    #e8c94a;
  --mint:    #4ecdc4;
  --white:   #f0f4f8;
  --gray:    #8a9bb0;
  --btn-bg:  #1e3a5f;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5%;
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

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

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  align-items: center;
}

.hero-text {
  padding: 4rem 5%;
  animation: fadeUp 0.8s ease both;
}

.hero-text p {
  font-size: 1.55rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 340px;
}

.hero-text p .accent-red {
  color: #e8534a;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #e8534a;
}

.hero-text p .accent-gold {
  color: var(--gold);
  font-weight: 700;
}

.hero-image img {
  max-width: 800;
  max-height: 500px;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* SVG landscape inline */
.hero-image svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.65rem 1.6rem;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  display: inline-block;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }

.btn-solid {
  background: var(--btn-bg);
  color: var(--white);
  border: 2px solid var(--btn-bg);
}

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

/* ── SECTIONS ── */
section {
  padding: 5rem 5%;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--gold);
}

/* ── ESPECIALIDADES ── */
#especialidades {
  background: var(--dark2);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.area-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.area-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.area-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.area-icon svg {
  width: 100%;
  height: 100%;
}

.area-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold);
  line-height: 1.3;
}

/* ── METODOLOGÍA ── */
#metodologia {
  background: var(--dark);
}

.metodo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.metodo-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.metodo-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.metodo-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metodo-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--white);
  padding-top: 0.4rem;
}

/* ── CLIENTES ── */
#clientes {
  background: var(--dark2);
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 2rem;
  align-items: center;
  justify-items: center;
}

.clientes-grid-2 {
  grid-template-columns: repeat(4, 1fr);
}

.cliente-logo {
  background: #fff;
  border-radius: 8px;
  padding: 0.5rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  width: 100%;
  max-width: 150px;
  opacity: 0.9;
  transition: opacity 0.2s, transform 0.2s;
}

.cliente-logo:hover { opacity: 1; transform: scale(1.04); }

.cliente-logo span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--dark);
  text-align: center;
  line-height: 1.2;
}

/* ── CTA ── */
#cta {
  background: var(--dark);
  text-align: center;
}

#cta .section-title {
  color: var(--white);
}

#cta .section-title span {
  color: var(--gold);
}

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

/* ── FOOTER ── */
footer {
  background: var(--dark2);
  padding: 3rem 5% 2rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--gray);
  font-size: 0.8rem;
  line-height: 1.8;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .areas-grid, .metodo-grid { grid-template-columns: repeat(2, 1fr); }
  .clientes-grid { grid-template-columns: repeat(3, 1fr); }
  .clientes-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 1rem; }
}

@media (max-width: 480px) {
  .areas-grid { grid-template-columns: 1fr; }
  .metodo-grid { grid-template-columns: 1fr; }
  .clientes-grid, .clientes-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
