* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #f8fafc;
  color: #0f172a;
}

/* HEADER GLASS */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;

  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;

  transition: 0.3s;
}

header.top {
  background: linear-gradient(
    to bottom,
    rgba(0, 26, 77, 0.9),
    rgba(0, 26, 77, 0.1),
    transparent
  );
}

header.scrolled {
  background: rgba(255,255,255,0.85);
}

header.scrolled nav a,
header.scrolled .logo-text {
  color: #002168;
}

.logo{
  height: 40px;
}

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

.logo-text {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  color: white;
}

nav a {
  margin-left: 30px;
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  transition: 0.3s;
}

nav a:hover {
  color: white;
}

@media(max-width: 768px) {
  .logo-text {
    font-size: 14px;
  }
}
      
/* HERO */
.hero {
  position: relative;
  height: 100vh;

  background: linear-gradient(to bottom, #001a4d, #f8fafc);

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  overflow: hidden;
}

.hero-content {
  z-index: 2;
  color: #f8fafc;
  animation: fadeUp 1.2s ease;
}

.hero h2 {
  font-size: 40px;
  margin-bottom: 15px;
}

.hero p {
  opacity: 0.9;
  margin-bottom: 20px;
}

.hero-content img{
  width: 20%;
  border-radius: 20%;

  animation: floatBoat 6s ease-in-out infinite;
}

@keyframes floatBoat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-8px) rotate(-1deg);
  }

  50% {
    transform: translateY(4px) rotate(1deg);
  }

  75% {
    transform: translateY(-6px) rotate(-0.5deg);
  }
z
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* BOTÓN */
.btn {
  padding: 12px 20px;
  background: white;
  color: #002168;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

/* OLA */
.wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0.7;
}

/* EFECTO LUZ SUAVE */
.hero::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.05), transparent);
  top: -50%;
  left: -50%;
}

/* ANIMACIÓN TEXTO */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SECCIONES */
.section {
  padding: 80px 60px;
}

.section h2 {
  margin-bottom: 20px;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card i {
  color: #002168;
  margin-bottom: 10px;
}

/* FORM */
form {
  max-width: 500px;
  margin-top: 30px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #cbd5f5;
  border-radius: 10px;
}

button {
  padding: 12px;
  background: #002168;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 26, 77, 0.9);
  color: #f8fafc;
  margin-top: 50px;
}

footer a {
  color: #94a3b8; /* gris claro elegante */
  text-decoration: none;
  transition: 0.3s;
}

footer a:hover {
  color: #64748b; /* un poco más oscuro al pasar */
}

/* RESPONSIVE */
@media(max-width: 768px) {
  .hero-wrapper {
    flex-direction: column;
  }

  .hero {
    width: 100%;
    height: auto;
    padding: 60px 20px;
  }

  .hero-right {
    width: 100%;
    margin-top: 20px;
  }
}

.intro {
  text-align: center;
  max-width: 800px;
  margin: auto;
  padding-top: 60px;

  position: relative;
}

/* línea decorativa sutil */
.intro::before {
  content: "";
  width: 60px;
  height: 3px;
  background: #0a4fd6;
  display: block;
  margin: 0 auto 20px;
  border-radius: 10px;
}

.intro h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #002168;
}

.intro p {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
}

/* .about h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #002168;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.about-card {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-card h3 {
  margin-bottom: 10px;
  color: #002168;
}

.about-card p {
  color: #475569;
  line-height: 1.6;
} */

.services {
  padding: 100px 40px;
  text-align: center;
  background: #f8fafc;
  position: relative;
}

/* título */
.services-title {
  font-size: 32px;
  margin-bottom: 50px;
  color: #002168;
}

/* grid */
.services-grid {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); */
  grid-template-columns: repeat(3, 300px);
  justify-content: center;
  gap: 25px;
}

/* CARD NUEVA */
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);

  padding: 30px 25px;
  border-radius: 18px;

  border: 1px solid rgba(0,26,77,0.05);

  transition: all 0.3s ease;
}

/* icono */
.service-card i {
  width: 40px;
  height: 40px;
  color: #0a4fd6;
  margin-bottom: 15px;
}

/* texto */
.service-card h3 {
  margin-bottom: 10px;
  color: #002168;
}

.service-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* hover pro */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 300px);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: auto;
  }
}