* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f4f6f9;
  color: #111827;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */

header {
  background: #021226;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #d6b46a;
}

/* HERO */

.team-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(2, 18, 38, 0.97) 0%, rgba(5, 24, 48, 0.86) 48%, rgba(9, 32, 61, 0.62) 100%),
    url("equipa.jpg");
  background-size: cover;
  background-position: center center;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.22;
  pointer-events: none;
}

.team-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(214, 180, 106, 0.10), transparent 24%),
    radial-gradient(circle at 75% 25%, rgba(255,255,255,0.05), transparent 18%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 70px 0;
}

.kicker,
.eyebrow {
  color: #d6b46a;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.team-hero h1 {
  font-size: clamp(44px, 7vw, 80px);
  line-height: 0.95;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.team-hero p {
  max-width: 720px;
  color: #e5e7eb;
  font-size: 20px;
  margin-bottom: 26px;
}

/* BUTTONS */

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-glass,
.btn-glass-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  transition: 0.3s ease;
}

.btn-primary {
  background: #d6b46a;
  color: #07111f;
  border: 1px solid #d6b46a;
}

.btn-primary:hover {
  background: #e3c57f;
  border-color: #e3c57f;
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.btn-glass-dark {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.22);
}

.btn-glass-dark:hover {
  background: #ffffff;
  color: #07111f;
  transform: translateY(-2px);
}

/* INTRO */

.intro-section {
  padding: 70px 0 35px;
}

.intro-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 45px;
  box-shadow: 0 15px 45px rgba(7, 17, 31, 0.1);
  border-left: 6px solid #d6b46a;
}

.intro-card h2 {
  color: #07111f;
  font-size: 38px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.intro-card p {
  color: #4b5563;
  font-size: 18px;
}

/* SECTION HEADING */

.section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: 38px;
  color: #07111f;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.15;
}

.section-heading.light h2 {
  color: #ffffff;
}

/* TEAM */

.team-section {
  padding: 70px 0 90px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.team-card {
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(7, 17, 31, 0.1);
  border-top: 5px solid #d6b46a;
  transition: 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(7, 17, 31, 0.16);
}

.team-card.main-card {
  background: linear-gradient(135deg, #07111f, #10243d);
  color: #ffffff;
}

.team-card.highlight-card {
  border-top-color: #2563eb;
}

.team-photo {
  height: 330px;
  background: #07111f;
  overflow: hidden;
}

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

.team-info {
  padding: 28px;
}

.role-tag {
  display: inline-block;
  background: rgba(214, 180, 106, 0.16);
  color: #8a681f;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.team-info h3 {
  color: #07111f;
  font-size: 26px;
  margin-bottom: 6px;
}

.team-card.main-card .team-info h3 {
  color: #ffffff;
}

.team-info p {
  color: #4b5563;
  font-size: 17px;
  font-weight: 700;
}

.team-card.main-card .team-info p {
  color: #e5e7eb;
}

.team-info blockquote {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 4px solid #d6b46a;
  color: #374151;
  font-weight: 800;
  line-height: 1.35;
}

/* SUPPORT PILLARS */

.support-pillars {
  background:
    radial-gradient(circle at 20% 20%, rgba(214, 180, 106, 0.1), transparent 28%),
    linear-gradient(135deg, #07111f, #10243d);
  color: #ffffff;
  padding: 85px 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(214, 180, 106, 0.2);
  border-radius: 22px;
  padding: 30px 24px;
  transition: 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}

.pillar-card span {
  display: block;
  font-size: 32px;
  margin-bottom: 12px;
}

.pillar-card h3 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 10px;
}

.pillar-card p {
  color: #d1d5db;
}

/* QUOTE */

.quote-section {
  background: #f4f6f9;
  color: #07111f;
  text-align: center;
  padding: 80px 0;
}

.quote-section blockquote {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.12;
  font-weight: 900;
}

.quote-section p {
  color: #d6b46a;
  font-weight: 900;
}

/* FINAL CTA */

.final-cta {
  padding: 85px 0;
  background: linear-gradient(135deg, #07111f, #10243d);
  color: #ffffff;
  text-align: center;
}

.final-cta h2 {
  font-size: 40px;
  margin-bottom: 18px;
}

.final-cta p {
  max-width: 780px;
  margin: 0 auto 30px;
  color: #e5e7eb;
  font-size: 18px;
}

.final-cta .cta-actions {
  justify-content: center;
}

/* FOOTER */

footer {
  background: #050b13;
  color: #cbd5e1;
  text-align: center;
  padding: 22px 0;
  font-size: 14px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  nav ul {
    gap: 14px;
  }

  nav a {
    font-size: 14px;
  }

  .team-hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(2, 18, 38, 0.97) 0%, rgba(5, 24, 48, 0.9) 55%, rgba(9, 32, 61, 0.84) 100%),
      url("equipa.jpg");
    background-size: cover;
    background-position: center center;
  }

  .hero-content {
    text-align: center;
    padding: 60px 0;
  }

  .team-hero h1 {
    font-size: clamp(42px, 14vw, 58px);
    letter-spacing: -1px;
  }

  .team-hero p {
    font-size: 17px;
  }

  .hero-actions,
  .cta-actions {
    justify-content: center;
  }

  .btn-primary,
  .btn-glass,
  .btn-glass-dark {
    width: 100%;
  }

  .intro-section,
  .team-section,
  .support-pillars,
  .quote-section,
  .final-cta {
    padding: 65px 0;
  }

  .intro-card {
    padding: 32px 24px;
  }

  .intro-card h2,
  .section-heading h2,
  .final-cta h2 {
    font-size: 30px;
  }

  .team-grid,
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .team-photo {
    height: 310px;
  }

  .team-info {
    padding: 24px;
  }
}