@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

:root {
  --primary-color: #0b2c4d;
  --secondary-color: #1e4b7a;
  --accent-color: #00b4d8;
  --text-dark: #2b2b2b;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito Sans', sans-serif;
  scroll-behavior: smooth;

}

body {
  background: linear-gradient(132deg, rgba(11, 44, 77, 1) 0%, rgba(196, 196, 187, 1) 100%);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
}

/* HEADER & NAVIGATION */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  backdrop-filter: blur(10px);
  color: var(--primary-color);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

header h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

header h1 span {
  color: var(--accent-color);
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  position: relative;
  transition: var(--transition);
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-color);
  transition: var(--transition);
}

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

nav a:hover {
  color: var(--accent-color);
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--primary-color);
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  color: var(--white);
}

.hero-content {
  max-width: 800px;
  animation: fadeIn 1s ease-out;
}

.hero h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.btn {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
}

.btn:hover {
  background: #0096b4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.6);
}

/* SECTION TITLES */
.section-title {
  text-align: center;
  font-size: 36px;
  color: var(--white);
  margin-bottom: 50px;
  font-weight: 700;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* SERVICIOS SECTION */
.servicios {
  padding: 0px 5% 40px;
  background: transparent;
}

.cards-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.card-wrapper {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  display: flex;
}

.card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.1s ease-out;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform-style: preserve-3d;
  will-change: transform;
}

.card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-color);
}

.card-img {
  height: 200px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-content {
  padding: 30px 20px;
  text-align: center;
}

.card h3 {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 700;
}

.card p {
  color: var(--text-light);
  font-size: 15px;
}

/* CONTENIDO SECTION */
.contenido {
  padding: 100px 5%;
  background: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
}

.feature-item:hover {
  border-left-color: var(--accent-color);
  transform: translateX(5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  font-size: 32px;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.feature-item h3 {
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 15px;
}

.feature-item p {
  color: var(--text-light);
  font-size: 15px;
}

/* TABS SECTION */
.tabs-section {
  padding: 50px 5%;
  background: transparent;
}

.tabs-container {
  background: var(--white);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 0 auto;
}

.tabs-buttons {
  display: flex;
  gap: 15px;
  border-bottom: 2px solid #eee;
  margin-bottom: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 25px;
  cursor: pointer;
  border: none;
  background: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn.active {
  color: var(--primary-color);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-color);
  border-radius: 3px 3px 0 0;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
  text-align: center;
}

.tab-pane.active {
  display: block;
}

.tab-pane h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 15px;
}

.tab-pane p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 16px;
}

/* FOOTER */
footer {
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 30px 20px;
  border-top: 4px solid var(--accent-color);
}

.cnt_full {
  display: flex;
  justify-content: space-around;
  padding-bottom: 30px;
}

.cnt_img {
  max-width: 300px;
  max-height: 80px;
  display: flex;
  justify-content: flex-start;
}

.cnt_img img {
  width: 100%;
  height: 100%;
}

.cnt_politicas_link a {
  color: white;
  font-size: 30px;
  text-decoration: none;
  transition: all ease-in 0.2s;
}

.cnt_politicas_link a:hover {
  text-decoration: underline;
}

.cnt_ic_redes {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.cnt_ic_re_prp {
  width: 32px;
  height: 32px;
  border: 1px solid white;
  background: transparent;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all ease-in 0.2s;
  color: white;
  text-decoration: none;
}

.cnt_ic_re_prp:hover {
  border: 1px solid #0096b4;
  background: #0096b4;
}

.cnt_prp_full {
  display: flex;
  justify-content: space-around;
  padding-bottom: 30px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 24px;
}

.cnt_left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cnt_txt_cont {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tit_cont {
  font-size: 30px;
  font-weight: bold;
  text-align: left;
  text-transform: uppercase;
  color: white;
}

.txt_cont {
  color: white;
  font-size: 16px;
  text-align: left;
}

.cnt_img_cont {
  max-width: 600px;
  max-height: 400px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  filter: grayscale(1);
  transition: all 0.2s ease-in-out;
  padding-top: 24px;
}

.cnt_img_cont.colorized {
  filter: grayscale(0);
}

.cnt_img_cont img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FORM STYLES */
.cnt_rigth {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  max-width: 500px;
  width: 100%;
}

.contact-form {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
}

.btn-submit {
  border: none;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
}



.cnt_prov {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.tit_pro {
  color: #0b2c4d;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}

.cnt_logo_gray {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cnt_logo {
  max-width: 120px;
  max-height: 70px;
  transition: all 0.2s ease-in-out;
}

.cnt_logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.2s ease-in-out;
}

.cnt_logo:hover img {

  transform: scale(1.1);

}

footer p {
  font-size: 14px;
  opacity: 0.8;
}

/* SCROLL REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  visibility: hidden;
}

.reveal.active {
  animation: revealAnimation 0.8s ease-out forwards;
}

@keyframes revealAnimation {
  0% {
    opacity: 0;
    transform: translateY(40px);
    visibility: visible;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  nav.active {
    max-height: 400px;
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav a {
    padding: 15px 20px;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
  }

  nav a::after {
    display: none;
  }

  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .feature-item {
    text-align: center;
    border-left: none;
    border-top: 4px solid var(--primary-color);
  }

  .feature-item:hover {
    border-left-color: transparent;
    border-top-color: var(--accent-color);
    transform: translateY(-5px);
  }

  .logo-container img {
    width: 200px;
    height: auto;
  }

  /* Ajustes de espaciado general */
  .servicios,
  .contenido,
  .tabs-section {
    padding: 60px 5%;
  }

  .tabs-container {
    padding: 20px;
  }

  /* Sección de Contacto */
  .cnt_prp_full {
    flex-direction: column;
    padding: 0 5% 30px 5%;
    gap: 30px;
  }

  .cnt_rigth {
    max-width: 100%;
  }

  .cnt_img_cont {
    max-width: 100%;
    height: auto;
  }

  .tit_pro {
    font-size: 26px;
    text-align: center;
  }

  .cnt_logo_gray {
    padding: 20px 5%;
  }

  .cnt_logo {
    max-width: 100px;
  }

  /* Footer */
  .cnt_full {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .cnt_politicas_link a {
    font-size: 18px;
  }

  .cnt_img {
    justify-content: center;
    max-width: 250px;
  }
}