@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@400;600;700&display=swap');

/* =====================
   VARIABLES
===================== */
:root {
  --primary: #3366ff;
  --bg-dark: #0a0e27;
  --bg-light: #1a1d3d;
  --text-main: #ffffff;
  --text-muted: #b0b3c1;
}

/* =====================
   RESET + GLOBAL
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Readex Pro', sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-light));
  color: var(--text-main);
  min-height: 100vh;
}

/* =====================
   IMAGES
===================== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =====================
   LAYOUT
===================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
}

section {
  margin: 4rem 0;
}

/* =====================
   HEADER
===================== */
header {
  margin-bottom: 3rem;
  animation: fadeInDown 1s ease;
}

.logo-img {
  max-width: 220px;
  width: 100%;
  margin: 0 auto 1rem;
}

.tagline {
  color: var(--text-muted);
  letter-spacing: 2px;
  font-size: 1rem;
}

/* =====================
   CTA PRINCIPAL
===================== */
.cta-btn {
  margin-top: 2rem;
  display: inline-block;
  padding: 1rem 2.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #3a71ff, #2546b8);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 2px;
  box-shadow: 0 8px 32px rgba(51,102,255,.25);
  transition: transform .2s, box-shadow .2s;
  max-width: 100%;
  text-align: center;
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 42px rgba(51,102,255,.4);
}

/* =====================
   FEATURES / SERVICIOS
===================== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.feature {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(51,102,255,0.15);
  border-radius: 16px;
  padding: 2rem;
  transition: transform .2s, box-shadow .2s;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(51,102,255,.2);
}

.feature p {
  color: var(--text-muted);
  font-size: .95rem;
}

/* CTA chico dentro de servicios */
.service-cta {
  margin-top: 1.5rem;
  display: inline-block;
  padding: 0.45rem 1.4rem;
  font-size: 0.7rem;
  letter-spacing: 1.8px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 999px;
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(51,102,255,0.6);
  text-decoration: none;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}

.service-cta:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(51,102,255,0.35);
  transform: translateY(-2px);
}

/* =====================
   ABOUT / QUIÉNES SOMOS
===================== */
.about-section {
  margin: 5rem auto;
  max-width: 900px;
  padding: 3rem 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(51,102,255,0.10),
    rgba(51,102,255,0.03)
  );
  border-radius: 24px;
  border: 1px solid rgba(51,102,255,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(51,102,255,0.35),
    transparent 60%
  );
  opacity: 0.35;
  pointer-events: none;
}

.about-content {
  position: relative;
  z-index: 1;
}

.about-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid rgba(51,102,255,0.4);
  background: rgba(51,102,255,0.08);
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-section p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* =====================
   CONTACTO
===================== */
.contact-section {
  background: rgba(51,102,255,0.08);
  border-radius: 18px;
  padding: 2.5rem;
}

/* Formulario */
.contact-form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(51,102,255,0.2);
  border-radius: 12px;
  padding: 1rem;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9aa3c7;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(51,102,255,0.25);
}

.contact-form button {
  width: 100%;
}

/* Info contacto */
.contact-info {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(51,102,255,0.25);
  background: rgba(51,102,255,0.05);
  color: var(--text-main);
  text-decoration: none;
  transition: all .25s ease;
}

.contact-item:hover {
  background: rgba(51,102,255,0.15);
  box-shadow: 0 0 18px rgba(51,102,255,0.35);
  transform: translateY(-2px);
}

.contact-location {
  flex-basis: 100%;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* =====================
   EQUIPO / TEAM
====================== */
.team-section {
  margin: 4rem auto;
  max-width: 800px;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(51,102,255,0.08), rgba(51,102,255,0.01));
  border-radius: 20px;
  border: 1px solid rgba(51,102,255,0.13);
  box-shadow: 0 10px 32px rgba(0,0,0,0.18);
}

.team-section h2 {
  font-size: 1.7rem;
  margin-bottom: 2.2rem;
  letter-spacing: 1.5px;
}

.team-members {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 180px;
}

.team-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--primary);
  box-shadow: 0 4px 18px rgba(51,102,255,0.13);
  margin-bottom: 1rem;
  background: #fff;
}

.team-name {
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text-main);
}

.team-role {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 600px) {
  .team-members {
    flex-direction: column;
    gap: 2rem;
  }
  .team-member {
    max-width: 100%;
  }
}

/* =====================
   FOOTER
===================== */
.footer {
  margin-top: 2rem;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {

  section {
    margin: 3rem 0;
  }

  .about-section {
    padding: 2rem 1.5rem;
  }

  .about-section h2 {
    font-size: 1.6rem;
  }

  .contact-section {
    padding: 2rem 1.5rem;
  }

  .contact-info {
    flex-direction: column;
  }

  .contact-item {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .cta-btn {
    white-space: normal;
    padding: 0.9rem 1.6rem;
  }
}

/* =====================
   ANIMATIONS
===================== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#servicios h2 {
  margin-bottom: 3rem;
  font-size: 2rem;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

/* Línea decorativa debajo */
#servicios h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  margin: 0.8rem auto 0;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 999px;
}

