* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: #1d1d1d;
  line-height: 1.6;
}

/* NAVBAR */
.navbar {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.navbar-logo img {
  height: 63px;
}

.navbar-logo span {
  font-weight: 700;
  font-size: 1.25rem;
  color: #0073cc;
}

.navbar-logo small {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: #8da6c9;
}

.navbar-links ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.navbar-links a {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  color: #1d1d1d;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  display: inline-block;
  padding: 0.25rem 0;
}

.navbar-links a:hover {
  color: #0073cc;
  border-bottom: 2px solid #0073cc;
}

/* TOGGLE HAMBURGUESA */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2001;
  padding: 8px;
  margin-left: 1rem;
}
.navbar-toggle span {
  width: 28px;
  height: 3px;
  background: #196ba3;
  display: block;
  border-radius: 2px;
  transition: 0.3s;
}

.navbar-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.navbar-toggle.open span:nth-child(2) {
  opacity: 0;
}
.navbar-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* HERO SECCIÓN */
.hero-section {
  position: relative;
  min-height: 540px;
  background: url('') center center/cover no-repeat;
  background-color: #196ba3;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: rgba(12, 60, 110, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  gap: 3rem;
  padding: 3rem 2rem;
  z-index: 2;
}

.hero-photo img {
  width: 330px;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  border: 7px solid #fff;
  box-shadow: 0 0 32px rgba(16,64,128,0.13);
  background: #eee;
  display: block;
}

.hero-content {
  color: #fff;
  max-width: 800px;
}

.hero-content .nombre {
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 0.7rem;
  letter-spacing: 0.02em;
  font-family: 'Montserrat', sans-serif;
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: #fff;
}

.hero-content p {
  font-size: 1.13rem;
  margin-bottom: 1.15rem;
  opacity: 0.98;
}

.hero-content strong {
  color: #bde8ff;
  font-weight: 700;
}

.hero-buttons {
  margin-top: 1.3rem;
  display: flex;
  gap: 1.3rem;
}

.btn {
  padding: 0.75rem 1.4rem;
  border-radius: 7px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.04em;
  display: inline-block;
}

.btn-primary {
  background: #fff;
  color: #196ba3;
  border: 2px solid #fff;
}

.btn-primary:hover {
  background: #bde8ff;
  color: #13446a;
  border-color: #bde8ff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #bde8ff;
}

.btn-outline:hover {
  background: #bde8ff;
  color: #196ba3;
  border-color: #bde8ff;
}

/* ABOUT SECTION */
.about {
  background-color: #f2f6fa;
  padding: 4rem 2rem;
}

.about-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 115, 204, 0.2);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 1.8rem;
  color: #0073cc;
  margin-bottom: 1rem;
}

/* INTRO */
.intro {
  background-color: #f2f6fa;
  padding: 3rem 1.5rem;
  text-align: center;
}

.intro p {
  max-width: 700px;
  margin: 1rem auto;
}

.hero {
  display: block;
  max-width: 300px;
  width: 100%;
  margin: 2rem auto;
  border-radius: 8px;
}

/* SERVICIOS CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: auto;
}

.card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  color: #0073cc;
  margin-bottom: 0.5rem;
}

/* SEO SECTION HOME */
.seo-section {
  background: #f9fbfd;
  padding: 6rem 0 3.5rem 0;
}

.seo-content,
.seo-cards-row {
  max-width: 1200px;
  margin: 0 auto 3.5rem auto;
  padding: 0;
}

.seo-content {
  text-align: center;
  margin-bottom: 3.5rem;
}

.seo-content h2 {
  font-family: 'Montserrat', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #193c6e;
  margin-bottom: 1.8rem;
  line-height: 1.16;
  letter-spacing: -1px;
  text-align:center;
}

.seo-content h2 span {
  color: #1976d2;
  font-weight: 700;
}

.seo-content p {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #1d2736;
  max-width: 1200px;
}

.seo-content strong {
  color: #1976d2;
  font-weight: 700;
}

.seo-cards-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2.6rem;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.seo-card {
  background: #fff;
  border-radius: 1.6rem;
  box-shadow: 0 4px 18px rgba(0, 115, 204, 0.09);
  padding: 2.5rem 2rem;
  min-width: 300px;
  flex: 1 1 325px;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 350px;
  transition: box-shadow 0.18s;
}

.seo-card:hover {
  box-shadow: 0 12px 32px rgba(25,118,210,0.14);
}

.seo-card-icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.seo-card h3 {
  color: #193C6E;
  font-size: 1.18rem;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 0.3rem;
  line-height: 1.18;
}

.seo-card p {
  font-size: 1.06rem;
  color: #34495e;
  margin-bottom: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

/* --- RESPONSIVE --- */

/* HERO Y NAVBAR */
@media (max-width: 1050px) {
  .hero-container {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
    text-align: center;
  }
  .hero-photo img {
    width: 100%;
    max-width: 330px;
    height: auto;
    margin: 0 auto;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content {
    max-width: 98vw;
  }
}

/* NAVBAR MOBILE MENU */
@media (max-width: 900px) {
  .navbar-container {
    flex-direction: row;
    align-items: center;
  }
  .navbar-links {
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.28s cubic-bezier(.4,2,.3,1);
    z-index: 2000;
  }
  .navbar-links.show-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .navbar-links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 0.5rem 1rem;
  }
  .navbar-links ul li {
    width: 100%;
    border-bottom: 1px solid #f0f4f8;
  }
  .navbar-links ul li:last-child {
    border-bottom: none;
  }
  .navbar-links a {
    display: block;
    padding: 1rem 0;
    width: 100%;
    font-size: 1.05rem;
  }
  .navbar-toggle {
    display: flex;
  }
}

/* BOTONES HERO RESPONSIVE CENTRADOS EN MOVIL */
@media (max-width: 650px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .btn, .btn-primary, .btn-outline {
    width: 95%;
    max-width: 350px;
    text-align: center;
  }
}

/* ABOUT Y SERVICIOS RESPONSIVE */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-text h2 {
    font-size: 1.5rem;
  }
}

/* SEO SECTION HOME RESPONSIVE */
@media (max-width: 1220px) {
  .seo-content,
  .seo-cards-row {
    max-width: 98vw;
    padding: 0 1.2rem;
  }
  .seo-cards-row {
    gap: 1.2rem;
  }
}

@media (max-width: 950px) {
  .seo-cards-row {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .seo-card {
    max-width: 430px;
    width: 100%;
    padding: 2rem 1.2rem;
    margin: 0 auto;
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .seo-section {
    padding: 3rem 0 2rem 0;
  }
  .seo-content {
    text-align: center;
  }
  .seo-content h2 {
    font-size: 2.0rem;
  }
  .seo-cards-row {
    gap: 1.2rem;
  }
  .seo-card {
    min-width: 0;
    max-width: 100vw;
    width: 100%;
    padding: 1.1rem 0.7rem;
    margin: 0 auto;
    gap: 0.7rem;
    /* Limpieza para evitar tarjetas estiradas: */
    height: auto !important;
    flex: none !important;
    min-height: unset !important;
    align-items: flex-start;
  }
  .seo-card-icon svg {
    width: 32px;
    height: 32px;
  }
}


.resultados-section {
  background: #fff;
  padding: 5rem 0 3rem 0;
}

.resultados-section1 {
  background: #F9F9F9;
  padding: 5rem 0 3rem 0;
}

.resultados-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;        /* <-- Importante: NO hacer wrap en escritorio */
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  align-items: flex-start;
  justify-content: center;
  padding: 0 1rem;
}

.resultados-info {
  flex: 1 1 600px;
  max-width: 600px;
}

.resultados-info h3 {
  font-size: 1.6rem;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  color: #193c6e;
  margin-bottom: 1.5rem;
  line-height: 1.12;
}

.resultados-info p {
  font-size: 1.21rem;
  color: #1d2736;
  margin-bottom: 2rem;
  max-width: 95%;
}

.resultados-info strong {
  color: #1976d2;
  font-weight: 700;
}

.resultados-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  gap: 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
}

.resultados-lista li {
  margin-bottom: 1rem;
  color: #193c6e;
  break-inside: avoid;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Columna derecha (imagen y botón) */
.resultados-image-side {
  flex: 1 1 600px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 280px;
  margin-top:20px;
}



.resultados-image {
  width: 100%;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.resultados-image img {
  max-width: 100%;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0, 115, 204, 0.09);
  background: #f8fafb;
}

.resultados-image-side .btn-primary {
  background: #1976d2;
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 7px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.09);
  text-align: center;
  display: inline-block;
}

.resultados-image-side .btn-primary:hover {
  background: #125ea2;
}

/* ------------------- RESPONSIVE ------------------- */
@media (max-width: 1230px) {
  .resultados-container {
    max-width: 98vw;
    padding: 0 1.2rem;
    gap: 2rem;
  }
  .resultados-info,
  .resultados-image-side {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .resultados-container {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }
  .resultados-info,
  .resultados-image-side {
    max-width: 680px;
    width: 100%;
  }
  .resultados-info h3 {
    font-size: 1.5rem;
    text-align: center;
  }
  .resultados-info p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .resultados-lista {
    columns: 1;
    text-align: left;
    margin: 0 auto;
    max-width: 350px;
  }
  .resultados-image-side .btn-primary {
    width: 95%;
    max-width: 350px;
    margin: 0 auto;
  }
}



.check-blue {
  color: #1976d2;
  font-size: 1.08em;
  margin-right: 0.5em;
}



.resultados-info1 {
  flex: 1 1 600px;
  max-width: 600px;
  margin-top:20px;
}

.resultados-info1 h3 {
  font-size: 1.6rem;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  color: #193c6e;
  margin-bottom: 1.5rem;
  line-height: 1.12;
}

.resultados-info1 p {
  font-size: 1.21rem;
  color: #1d2736;
  margin-bottom: 2rem;
  max-width: 95%;
}

.resultados-info1 strong {
  color: #1976d2;
  font-weight: 700;
}



/* Icono azul para los checks */


/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .resultados-info1 {
    max-width: 680px;
    width: 100%;
  }
  .resultados-info1 h3 {
    font-size: 1.5rem;
    text-align: center;
  }
  .resultados-info1 p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

}



/* Testimonios de Empresas */
.testi-empresas-section {
  background: #f6fafd;     /* Azul clarito, muy suave */
  padding: 4.5rem 0 3.2rem 0;
}
.testi-title {
  text-align: center;
  font-family: 'Montserrat', serif;
  color: #193c6e;
  font-size: 2.1rem;
  margin-bottom: 3rem;
  font-weight: 700;
  letter-spacing: -1px;
}
.testi-empresas-row {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.testi-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 18px rgba(25, 118, 210, 0.07);
  padding: 2.3rem 2rem 2rem 2rem;
  max-width: 370px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
  border: 1.5px solid #e5ecf7;
}
.testi-card:hover {
  box-shadow: 0 12px 38px rgba(25, 118, 210, 0.12);
  border-color: #bde8ff;
}

.testi-empresa-logo img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 16px;
  margin-bottom: 1.1rem;
  background: #f3f7fb;
  border: 2px solid #e0f2fc;
  box-shadow: 0 1px 8px rgba(25, 118, 210, 0.08);
}

.testi-empresa-info {
  text-align: center;
  margin-bottom: 1rem;
}
.testi-empresa-nombre {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #1976d2;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.testi-empresa-sector {
  color: #345;
  font-size: 1.03rem;
  font-weight: 400;
  opacity: 0.87;
}

.testi-empresa-resena {
  color: #193c6e;
  font-size: 1.11rem;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  text-align: center;
  margin-top: 0.8rem;
  opacity: 0.98;
  min-height: 90px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1020px) {
  .testi-empresas-row {
    gap: 1.5rem;
  }
  .testi-card {
    max-width: 430px;
  }
}
@media (max-width: 700px) {
  .testi-empresas-row {
    flex-direction: column;
    align-items: center;
  }
  .testi-title {
    font-size: 1.3rem;
    margin-bottom: 1.3rem;
  }
  .testi-card {
    padding: 1.2rem 0.9rem 1.4rem 0.9rem;
    max-width: 96vw;
    min-width: 0;
  }
  .testi-empresa-logo img {
    width: 120px;
    height: 120px;
  }
}


/**@media (max-width: 700px) {
  .resultados-section,
  .resultados-section1 {
    padding: 2.3rem 0 1.2rem 0;
  }
}**/



@media (max-width: 700px) {

  .resultados-image-side {
    margin-bottom: -200px;   

  }

  .resultados-image img {

        margin-bottom: 25px;
  }
  
}


