/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --petrol: #0d3b3b; /* verde petróleo */
  --gold: #d4af37;
  --muted: #7b8a8a;
  --bg: #f5f7f6;
  --glass: rgba(255, 255, 255, 0.06);
  --max-width: 1200px;
}
body {
  font-family: Inter, system-ui, Arial, sans-serif;
  color: var(--petrol);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: rgb(59, 133, 165);
}
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 59, 59, 0.95),
    rgba(13, 59, 59, 0.85)
  );
  color: white;
  backdrop-filter: blur(6px);
  z-index: 60;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.logo {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid rgba(212, 175, 55, 0.08);
}
.brand-text .small {
  font-size: 0.75rem;
  opacity: 0.9;
}
.brand-text h1 {
  font-family: Playfair Display, serif;
  font-size: 1.05rem;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.nav-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}
.nav-link i {
  font-size: 1.25rem;
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
}
.nav-cta {
  background: var(--gold);
  color: var(--petrol);
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 1.2rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 7rem 0 4rem;
  background: linear-gradient(
    180deg,
    rgba(13, 59, 59, 0.25),
    rgba(255, 255, 255, 0)
  );
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(212, 175, 55, 0.06) 1px,
    transparent 1px
  );
  background-size: 200px 200px;
  opacity: 0.6;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 2rem;
  align-items: center;
}
.hero-text h2 {
  font-family: Playfair Display, serif;
  font-size: 2.2rem;
  color: rgb(40, 52, 47);
  margin-bottom: 0.5rem;
}
.lead {
  color: rgba(8, 8, 8, 0.85);
  margin: 0.6rem 0 1.2rem;
}
.hero-img img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(13, 59, 59, 0.25);
  transform: translateY(0);
}

.btn-primary {
  background: var(--gold);
  color: var(--petrol);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}
.btn-ghost {
  background: var(--petrol);
  border: 1px solid rgba(5, 5, 5, 0.12);
  color: rgb(251, 249, 249);
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  text-decoration: none;
}

/* Sections */
.section {
  padding: 3rem 0;
}
.alt {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.03), transparent);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.card {
  background: white;
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(13, 59, 59, 0.06);
  position: relative;
  overflow: hidden;
}
.card-icon {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 2.2rem;
  color: var(--gold);
  opacity: 0.95;
  padding-left: 10px;
}
.card h4 {
  margin-bottom: 0.6rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.profile-card {
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(13, 59, 59, 0.06);
}
.p-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  text-align: justify;
}
.p-head i {
  font-size: 1.6rem;
  color: var(--petrol);
}

.cronograma {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}
.cronograma th,
.cronograma td {
  padding: 0.9rem;
  border-bottom: 1px solid #eef2f6;
  text-align: left;
}
.cronograma thead th {
  background: linear-gradient(90deg, rgba(13, 59, 59, 0.04), transparent);
  color: var(--muted);
}

/* Map */
.map-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 59, 59, 0.06);
}

/* CTA */
.cta {
  background: linear-gradient(90deg, rgba(13, 59, 59, 0.03), transparent);
  padding: 2rem;
  border-radius: 12px;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  padding: 1.2rem 0;
  color: var(--muted);
  text-align: left;
  background: transparent;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.logo-sm {
  width: 56px;
  height: 56px;
  border-radius: 8px;
}
.socials-footer a {
  margin-left: 0.6rem;
  color: var(--petrol);
  font-size: 1.25rem;
}

/* Floating socials */
.social-floats {
  position: fixed;
  right: 14px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  z-index: 80;
}
.float {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--petrol);
  color: var(--gold);
  box-shadow: 0 10px 30px rgba(13, 59, 59, 0.18);
  text-decoration: none;
  font-size: 1.6rem;
  transform-origin: center;
}
.float.facebook {
  animation: floaty 6s ease-in-out infinite;
}
.float.instagram {
  animation: floaty 7s ease-in-out 0.4s infinite;
}
.float.linkedin {
  animation: floaty 5.4s ease-in-out 0.8s infinite;
}

@keyframes floaty {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px) rotate(-3deg);
  }
  100% {
    transform: translateY(0);
  }
}

/* Reveal animations */
.reveal,
.reveal-card {
  opacity: 0;
  transform: translateY(18px);
  transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.show,
.reveal-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Hover card glow */
.card:hover,
.profile-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(13, 59, 59, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.12);
}
.card:hover .card-icon {
  filter: drop-shadow(0 6px 16px rgba(212, 175, 55, 0.18));
  padding-left: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
    position: fixed;
    right: 12px;
    top: 76px;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(13, 59, 59, 0.12);
  }
  .nav-toggle {
    display: block;
    color: white;
  }
  .nav-link {
    color: var(--petrol);
  }
  .header-inner {
    padding: 0.6rem 1rem;
  }
}
/* --- SECCIÓN PERFILES ELEGANTE --- */
#btn-perfiles {
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.perfiles-banner {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.25);
  animation: fadeInUp 1s ease forwards;
}

.banner-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  filter: brightness(70%);
  transition: transform 6s ease, filter 0.5s ease;
}

.perfiles-banner:hover .banner-img {
  transform: scale(1.1);
  filter: brightness(60%);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 50, 32, 0.6); /* Verde petróleo con transparencia */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  transition: background 0.5s ease;
}

.overlay h2 {
  color: #ffd700; /* Dorado */
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  animation: slideInDown 1s ease forwards;
}

.btn-primary.animated-btn {
  background: #ffd700;
  color: #013220;
  padding: 12px 28px;
  font-size: 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: floaty 3s ease-in-out infinite;
}

.btn-primary.animated-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 1;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 1;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
