/* 1. VARIABLES DE DISEÑO RENTAVAL - VERSIÓN OFICIAL */
:root {
  --bg-primary: #f4f4f4;
  --bg-secondary: #ffffff;
  --bg-dark: #2a2a2a;
  --primary-color: #202f58;
  --secondary-color: #c39c05;
  --text-main: #2d2d2d;
  --text-light: #ffffff;
  --border-color: rgba(32, 47, 88, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 32px rgba(195, 156, 5, 0.2);
  --error-color: #dc2626;
  --success-color: #16a34a;
}

/* 2. RESET CSS */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  font: inherit;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 3. ESTILOS BASE */
body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ==================================
   SCROLLBAR PERSONALIZADA
================================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1a2545;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f1f1f1;
}

/* ==================================
   NUEVAS ANIMACIONES Y EFECTOS
================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), #d4ad06);
  z-index: 9999;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s ease-out;
}

[data-scroll-reveal] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-scroll-reveal="left"] {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-scroll-reveal="right"] {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-scroll-reveal].revealed {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

.fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-text {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
}

.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
  width: 300px;
  height: 300px;
}

.list-item-animate {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.list-item-animate.revealed {
  opacity: 1;
  transform: translateX(0);
}

.badge-animate {
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
  animation-duration: 15s;
}

.particle:nth-child(3) {
  top: 80%;
  left: 30%;
  animation-delay: 4s;
  animation-duration: 18s;
}

.particle:nth-child(4) {
  top: 40%;
  left: 70%;
  animation-delay: 1s;
  animation-duration: 14s;
}

.particle:nth-child(5) {
  top: 30%;
  left: 50%;
  animation-delay: 3s;
  animation-duration: 16s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-30px) translateX(20px);
  }
  50% {
    transform: translateY(-60px) translateX(-20px);
  }
  75% {
    transform: translateY(-30px) translateX(20px);
  }
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary-color), #d4ad06);
  border: none;
  border-radius: 50%;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.form-input-animate {
  position: relative;
}

.form-input-animate:focus {
  animation: inputGlow 0.3s ease-out;
}

@keyframes inputGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(195, 156, 5, 0.4);
  }
  100% {
    box-shadow: 0 0 0 8px rgba(195, 156, 5, 0);
  }
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2a3d6a 100%);
  padding: 5rem 6rem;
  position: relative;
  overflow: hidden;
}

.stats-title {
  text-align: center;
  color: var(--secondary-color);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 3rem;
  line-height: 1.2;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(195, 156, 5, 0.1), transparent 70%);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  color: var(--text-light);
  padding: 2rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-family: "Montserrat", sans-serif;
}

.stat-label {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.9;
}

/*NAVEGACIÓN*/
.navbar {
  background-color: var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(32, 47, 88, 0.15);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.navbar h1 {
  font-size: 24px;
  color: var(--secondary-color);
  margin-left: 1rem;
}

.navbar.scrolled {
  background-color: rgba(32, 47, 88, 0.95);
  box-shadow: 0 4px 30px rgba(32, 47, 88, 0.3);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 3.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar-logo {
  color: var(--secondary-color);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
  z-index: 1001;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.navbar-logo img {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 28px;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
  background-color: var(--secondary-color);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background-color: var(--secondary-color);
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.navbar-menu li {
  margin: 0;
}

.navbar-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.navbar-menu a:hover {
  color: var(--secondary-color);
}

.navbar-menu a:hover::after {
  width: 100%;
}

body.menu-open {
  overflow: hidden;
}

/*HERO SECTION*/
.herosection {
  position: relative;
  min-height: 650px;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
}

.hero-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.85;
  transition: transform 0.1s ease-out;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 6rem;
  color: var(--text-main);
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--secondary-color);
}

.hero-content h2 {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 680px;
  color: var(--text-main);
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #d4ad06 100%);
  color: var(--text-light);
  padding: 0.9rem 2rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d4ad06 0%, #e0ba07 100%);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.9rem 2rem;
  font-weight: 500;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* RISK SECTION */
.risk-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 5rem 6rem;
  align-items: center;
  background: linear-gradient(135deg, #1e2a4a 0%, #202f58 45%, #16203b 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.risk-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(195, 156, 5, 0.05), transparent 70%);
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.risk-content {
  position: relative;
  z-index: 2;
}

.risk-content h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.risk-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.risk-list li {
  color: #e5e7eb;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  position: relative;
}

.risk-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.risk-btn {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #d4ad06 100%);
  color: var(--text-light);
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  border-radius: 8px;
  width: fit-content;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  border: none;
}

.risk-btn:hover {
  background: linear-gradient(135deg, #d4ad06 0%, #e0ba07 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.risk-illustration {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.risk-illustration img {
  border-radius: 5px;
}

/*PROCESS SECTION*/
.process-section {
  padding: 5rem 6rem;
  background-color: var(--bg-primary);
  position: relative;
  z-index: 1;
}

.process-section h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 3rem;
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.process-card {
  position: relative;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.process-card-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.process-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.process-card:hover .card-overlay {
  background: linear-gradient(
    to bottom,
    rgba(32, 47, 88, 0.1),
    rgba(32, 47, 88, 0.65)
  );
}

.process-card .card-accent {
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background-color: var(--secondary-color);
  z-index: 3;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(32, 47, 88, 0.2),
    rgba(32, 47, 88, 0.75)
  );
  z-index: 1;
  transition: background 0.3s ease;
}

.card-content {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 2;
  color: #ffffff;
}

.card-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.95;
}

/*BENEFITS SECTION*/
.benefits-section {
  background-color: var(--bg-primary);
  padding: 6rem 6rem;
  color: var(--text-main);
  position: relative;
  z-index: 1;
}

.benefits-wrapper {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.benefits-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.benefits-content h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.benefits-content p {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 2rem;
  max-width: 520px;
}

.benefits-content h4 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-weight: 600;
}

.benefits-content ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.benefits-content li {
  font-size: 0.9rem;
  color: var(--text-main);
  position: relative;
  padding-left: 1.2rem;
}

.benefits-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

.benefits-content button {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #d4ad06 100%);
  border: none;
  color: var(--text-light);
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  font-weight: 500;
}

.benefits-content button:hover {
  background: linear-gradient(135deg, #d4ad06 0%, #e0ba07 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.benefits-image {
  height: 420px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-md);
}

.benefits-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.benefits-image:hover {
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-hover);
}

.benefits-image:hover img {
  transform: scale(1.05);
}

/*INVESTIGATION HERO SECTION */
.investigation-hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-color: var(--bg-primary);
}

.investigation-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/*PROTECTION SECTION*/
.protection-section {
  position: relative;
  background: linear-gradient(135deg, #0f1115 0%, #141824 50%, #0c0f14 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  display: flex;
  margin-top: -3rem;
  padding: 5rem 6rem;
  gap: 4rem;
  min-height: 80vh;
  color: var(--text-light);
}

.protection-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(195, 156, 5, 0.06),
    transparent 55%
  );
  pointer-events: none;
}

.protection-sidebar {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1.5px solid var(--border-color);
  padding-right: 3rem;
}

.protection-title {
  color: var(--secondary-color);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  font-family: "Montserrat", sans-serif;
}

.logo-box {
  margin: 0 auto;
  text-align: center;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.logo-box:hover {
  transform: scale(1.05);
}

.logo-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 80px;
}

.protection-logo-container .logo-text-main {
  font-size: 42px;
  font-weight: 200;
  text-align: center;
  margin: 0;
}

.protection-logo-container .logo-text-sub {
  font-size: 16px;
  font-weight: 100;
  text-align: center;
  margin: 0;
}

.protection-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.protection-card {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-sm);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-img-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card-label {
  color: var(--text-main);
  padding: 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  margin: 0;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}

.protection-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-hover);
}

.protection-card:hover img {
  transform: scale(1.05);
}

/*CONTACT SECTION - ACTUALIZADA CON IMAGEN A LA IZQUIERDA*/
.contact-section {
  background-color: var(--secondary-color);
  color: var(--text-main);
  padding: 5rem 6rem;
  position: relative;
  overflow: hidden;
}

.section-title {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 400;
  color: var(--primary-color);
}

.contact-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 3rem;
  background-color: var(--bg-secondary);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-form {
  padding: 3rem;
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-main);
  padding-left: 5px;
}

.required {
  color: var(--error-color);
}

.form-group input {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.9rem;
  color: var(--text-main);
  outline: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.form-group input.error {
  border-color: var(--error-color);
}

.form-group input.success {
  border-color: var(--success-color);
}

.error-message {
  color: var(--error-color);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  padding-left: 5px;
  display: none;
}

.error-message.visible {
  display: block;
}

.form-group input:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(195, 156, 5, 0.1);
}

.form-group input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(195, 156, 5, 0.15);
}

.form-group input::placeholder {
  color: rgba(45, 45, 45, 0.4);
}

.btn-send {
  width: 100%;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #d4ad06 100%);
  border: none;
  color: var(--text-light);
  padding: 1rem;
  border-radius: 12px;
  margin-top: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.btn-send:hover:not(:disabled) {
  background: linear-gradient(135deg, #d4ad06 0%, #e0ba07 100%);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-send:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ADVISOR SECTION */
.advisor-section {
  background-color: var(--bg-primary);
  padding: 4rem 6rem;
}

.divider {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin-bottom: 3rem;
}

.advisor-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.btn-advisor {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #d4ad06 100%);
  border: none;
  color: var(--text-light);
  padding: 0.8rem 2.2rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  font-weight: 500;
}

.btn-advisor:hover {
  background: linear-gradient(135deg, #d4ad06 0%, #e0ba07 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* SOCIAL NETWORKS SECTION - NUEVA */
.social-networks-section {
  background-color: var(--bg-primary);
  padding: 6rem 6rem;
  position: relative;
}

.social-networks-container {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.social-networks-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-logo-box {
  width: 180px;
  margin: 0 auto;
}

.brand-logo-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-name {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  letter-spacing: 2px;
  margin: 0;
}

.brand-tagline {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 2rem;
}

.location-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.location-card:hover {
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.location-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.location-card p {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.5;
  margin: 0;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.social-card {
  background-color: var(--bg-secondary);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.social-card.primary {
  border-color: var(--primary-color);
}

.social-card.secondary {
  border-color: var(--secondary-color);
}

.social-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.social-card.primary:hover {
  background: linear-gradient(135deg, rgba(32, 47, 88, 0.05), transparent);
}

.social-card.secondary:hover {
  background: linear-gradient(135deg, rgba(195, 156, 5, 0.05), transparent);
}

.social-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  border-radius: 50%;
  transition: all 0.3s ease;
  padding: 18px;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-icon.primary-bg {
  background-color: var(--primary-color);
}

.social-icon.secondary-bg {
  background-color: var(--secondary-color);
}

.social-card:hover .social-icon {
  transform: scale(1.1) rotate(5deg);
}

.social-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

/* FOOTER */
.main-footer {
  background-color: var(--bg-primary);
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
}

.footer-bar {
  width: 100%;
  max-width: 1200px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background-color: var(--bg-secondary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.footer-bar:hover {
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-md);
}

.footer-nav {
  width: 100%;
}

.footer-nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

.footer-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 300;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.footer-nav a:hover {
  color: var(--secondary-color);
}

/*RESPONSIVE*/
@media (max-width: 1024px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .navbar-container {
    padding: 0 2rem;
  }
  .navbar-menu {
    gap: 1.5rem;
  }
  .navbar-menu a {
    font-size: 0.9rem;
  }
  .hero-content {
    padding: 0 3rem;
  }
  .hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .risk-section,
  .process-section,
  .benefits-section,
  .protection-section,
  .stats-section,
  .contact-section,
  .advisor-section,
  .social-networks-section {
    padding: 4rem 3rem;
    gap: 3rem;
  }
  .process-cards {
    gap: 1.5rem;
  }
  .benefits-wrapper {
    grid-template-columns: 1fr 350px;
  }
  .benefits-image {
    height: 350px;
  }
  .investigation-hero-section {
    min-height: 450px;
  }
  .protection-sidebar {
    flex: 0 0 280px;
    padding-right: 2rem;
  }
  .logo-box {
    width: 100%;
  }
  .contact-container {
    grid-template-columns: 350px 1fr;
    gap: 2rem;
  }
  .contact-image {
    min-height: 450px;
  }
  .contact-form {
    padding: 2.5rem;
  }
  .social-networks-container {
    grid-template-columns: 350px 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .stats-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stats-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .stat-number {
    font-size: 3rem;
  }

  .hamburger {
    display: flex;
  }
  .navbar-container {
    padding: 0 1.5rem;
  }
  .navbar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all 0.4s ease;
  }
  .navbar-menu.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }
  .navbar-menu li {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
  .navbar-menu.active li {
    opacity: 1;
    transform: translateY(0);
  }
  .navbar-menu.active li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .navbar-menu.active li:nth-child(2) {
    transition-delay: 0.15s;
  }
  .navbar-menu.active li:nth-child(3) {
    transition-delay: 0.2s;
  }
  .navbar-menu.active li:nth-child(4) {
    transition-delay: 0.25s;
  }
  .navbar-menu.active li:nth-child(5) {
    transition-delay: 0.3s;
  }
  .navbar-menu a {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-light);
  }
  .navbar-menu a::after {
    bottom: -8px;
    height: 3px;
  }
  .herosection {
    min-height: 500px;
  }
  .hero-content {
    padding: 0 2rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
  .risk-section {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    gap: 3rem;
  }
  .risk-illustration {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  .process-section,
  .benefits-section {
    padding: 3rem 2rem;
  }
  .process-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .process-card {
    height: 280px;
  }
  .benefits-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .benefits-image {
    height: 300px;
  }
  .benefits-content button {
    width: 100%;
  }
  .investigation-hero-section {
    min-height: 400px;
  }
  .protection-section {
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 3rem;
  }
  .protection-sidebar {
    flex: none;
    border-right: none;
    border-bottom: 1.5px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 2rem;
  }
  .protection-title {
    margin-bottom: 1rem;
  }
  .protection-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .card-img-container {
    height: 180px;
  }
  .contact-section,
  .advisor-section,
  .social-networks-section {
    padding: 3rem 2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-image {
    min-height: 300px;
  }
  .contact-form {
    padding: 2rem;
  }
  .social-networks-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .social-grid {
    grid-template-columns: 1fr;
  }
  .footer-bar {
    padding: 1.5rem 2rem;
  }
  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  .footer-nav a {
    font-size: 0.75rem;
  }
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .navbar-container {
    padding: 0 1rem;
    height: 3rem;
  }
  .navbar-logo img {
    height: 2rem;
  }
  .hamburger-line {
    width: 25px;
  }
  .navbar-menu a {
    font-size: 1.3rem;
  }
  .navbar-menu {
    gap: 2rem;
  }
  .herosection {
    min-height: 450px;
    padding: 3rem 0;
  }
  .hero-content {
    padding: 0 1.5rem;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content h2 {
    font-size: 1rem;
  }
  .btn-primary,
  .btn-secondary {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }
  .risk-section,
  .process-section,
  .benefits-section,
  .protection-section,
  .stats-section,
  .contact-section,
  .advisor-section,
  .social-networks-section {
    padding: 2.5rem 1.5rem;
    gap: 2rem;
  }
  .stats-title {
    font-size: 1.5rem;
  }
  .risk-content h2,
  .process-section h2,
  .benefits-content h2 {
    font-size: 1.6rem;
  }
  .risk-btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.2rem;
  }
  .process-card {
    height: 250px;
  }
  .card-content {
    padding: 1.5rem;
  }
  .card-content h3 {
    font-size: 1.2rem;
  }
  .card-content p {
    font-size: 0.85rem;
  }
  .benefits-content p,
  .benefits-content li {
    font-size: 0.85rem;
  }
  .benefits-image {
    height: 250px;
  }
  .protection-title {
    font-size: 1.8rem;
  }
  .protection-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .investigation-hero-section {
    min-height: 500px;
    height: auto;
  }
  .investigation-hero-picture {
    position: relative;
    height: auto;
  }
  .investigation-hero-img {
    position: relative;
    height: auto;
    min-height: 500px;
  }
  .card-img-container {
    height: 200px;
  }
  .card-label {
    font-size: 1rem;
    padding: 1.2rem;
  }
  .logo-box {
    padding: 2rem 1rem;
    font-size: 0.85rem;
  }
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  .contact-container {
    border-radius: 15px;
  }
  .contact-image {
    min-height: 250px;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .form-group {
    margin-bottom: 1.2rem;
  }
  .form-group label {
    font-size: 0.85rem;
  }
  .form-group input {
    padding: 0.7rem;
    font-size: 0.9rem;
  }
  .btn-send {
    padding: 0.9rem;
    font-size: 0.95rem;
  }
  .advisor-content p {
    font-size: 1rem;
  }
  .btn-advisor {
    width: 100%;
    padding: 0.8rem 1.5rem;
  }
  .footer-bar {
    padding: 1.2rem 1.5rem;
    border-radius: 30px;
  }
  .footer-nav ul {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
  .footer-nav a {
    font-size: 0.8rem;
  }
  .stat-number {
    font-size: 2.5rem;
  }
  .stat-label {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .navbar-logo img {
    height: 1.8rem;
  }
  .navbar-menu a {
    font-size: 1.2rem;
  }
  .herosection {
    min-height: 420px;
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .hero-content h2 {
    font-size: 0.9rem;
  }
  .risk-content h2,
  .process-section h2,
  .benefits-content h2 {
    font-size: 1.4rem;
  }
  .section-title,
  .protection-title {
    font-size: 1.6rem;
  }
  .contact-container {
    padding: 1.2rem;
  }
  .footer-nav a {
    font-size: 0.7rem;
  }
  .investigation-hero-section {
    min-height: 400px;
  }
}