*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white: #ffffff;
  --off-white: #f0ede8;
  --cream: #e8e2d9;
  --charcoal: #1a1a1a;
  --dark: #0d0d0d;
  --mid: #3a3a3a;
  --muted: #888880;
  --accent: #c8a96e;
  --accent-light: #dfc08a;
  --nav-bg: rgba(255, 255, 255, 0.12);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

/* ══════════════════════════════════
       NAV
    ══════════════════════════════════ */
nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 32px;
  height: 52px;
  width: 700px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  transition: background var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 16px;
  border-radius: 20px;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

/* ══════════════════════════════════
       HERO
    ══════════════════════════════════ */
#inicio {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.05) 100%),
    url('../img/technology-abstract.jpg') center/cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1.00);
  }
}

/* sunrise glow overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 50% at 50% 58%, rgba(255, 160, 60, 0.18) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeUp 1.2s 0.3s both;
  text-align: center;
  width: 100%;
}

.hero-content .container {
  text-align: left;
}

.hero-content .container img {
  max-width: 500px;
  width: 100%;
  position: relative;
  bottom: 40px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(88px, 12vw, 160px);
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: var(--white);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.hero-sub {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.hero-sub-mx {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(88px, 12vw, 160px);
  line-height: 0.88;
  color: var(--white);
}

.hero-sub-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-sub-text span {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(13px, 1.6vw, 22px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  right: 56px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: fadeUp 1.4s 0.8s both;
}

.scroll-hint::before {
  content: '';
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  animation: bounce 1.8s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }

  50% {
    transform: rotate(45deg) translateY(4px);
  }
}

/* ══════════════════════════════════
       SECTION BASE
    ══════════════════════════════════ */
section {
  padding: 120px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
}

.section-heading em {
  font-style: italic;
  color: var(--accent-light);
}

/* ══════════════════════════════════
       SERVICIOS
    ══════════════════════════════════ */
#servicios {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

#servicios::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.servicios-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.servicio-card {
  background: var(--charcoal);
  padding: 48px 36px;
  position: relative;
  transition: background var(--transition);
  cursor: default;
}

.servicio-card:hover {
  background: #222;
}

.servicio-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.5s ease;
}

.servicio-card:hover::after {
  width: 100%;
}

.servicio-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
  user-select: none;
}

.servicio-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--accent);
}

.servicio-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.servicio-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
}

/* ══════════════════════════════════
       ACERCA DE
    ══════════════════════════════════ */
#acerca {
  background: var(--dark);
  position: relative;
}

.acerca-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.acerca-visual {
  position: relative;
}

.acerca-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(30%) contrast(1.05);
}

.acerca-img-frame {
  position: relative;
  overflow: hidden;
}

.acerca-img-frame::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid rgba(200, 169, 110, 0.25);
  z-index: 0;
}

.acerca-stat {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--accent);
  color: var(--dark);
  padding: 28px 32px;
}

.acerca-stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  line-height: 1;
  display: block;
}

.acerca-stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.acerca-text {
  padding-top: 16px;
}

.acerca-body {
  margin-top: 32px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
}

.acerca-body+.acerca-body {
  margin-top: 20px;
}

.acerca-values {
  margin-top: 48px;
  display: flex;
  gap: 40px;
}

.acerca-value-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.acerca-value-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  color: var(--accent);
  line-height: 1;
}

.acerca-value-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ══════════════════════════════════
       CLIENTES
    ══════════════════════════════════ */
#clientes {
  background: var(--charcoal);
}

.clientes-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
}

.clientes-intro {
  max-width: 480px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  margin-top: 28px;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cliente-card {
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 40px 32px;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}

.cliente-card:hover {
  border-color: rgba(200, 169, 110, 0.3);
  transform: translateY(-4px);
}

.cliente-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
}

.cliente-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cliente-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(200, 169, 110, 0.2);
  border: 1px solid rgba(200, 169, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--accent);
}

.cliente-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.cliente-role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.logos-strip {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.logo-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.18);
  transition: color var(--transition);
}

.logo-item:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ══════════════════════════════════
       CONTACTANOS
    ══════════════════════════════════ */
#contacto {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

#contacto::before {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.contacto-left .section-heading {
  margin-bottom: 28px;
}

.contacto-desc {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 15px;
  color: var(--white);
  font-weight: 300;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input,
.form-textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 14px 18px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  border-radius: 0;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(200, 169, 110, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.btn-submit {
  align-self: flex-start;
  background: var(--accent);
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-110%);
  transition: transform 0.4s ease;
}

.btn-submit:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.btn-submit:hover::after {
  transform: translateX(110%);
}

/* ══════════════════════════════════
       FOOTER
    ══════════════════════════════════ */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 1.8;
}

.footer-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ══════════════════════════════════
       REVEAL ANIMATION
    ══════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.stagger>* {
  transition-delay: calc(var(--i, 0) * 0.08s);
}

/* ══════════════════════════════════
       HAMBURGER / MOBILE NAV
    ══════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease, width 0.35s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition);
  padding: 8px 0;
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* ══════════════════════════════════
       RESPONSIVE — TABLET (≤ 1024px)
    ══════════════════════════════════ */
@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  /* Servicios */
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Acerca */
  .acerca-inner {
    gap: 60px;
  }

  /* Clientes */
  .clientes-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .clientes-intro {
    max-width: 100%;
    margin-top: 0;
  }

  /* Contacto */
  .contacto-inner {
    gap: 60px;
  }
}

/* ══════════════════════════════════
       RESPONSIVE — MOBILE (≤ 768px)
    ══════════════════════════════════ */
@media (max-width: 768px) {

  /* NAV — pill becomes compact, show hamburger */
  nav {
    top: 16px;
    gap: 0;
    padding: 0 16px 0 20px;
    height: 48px;
    width: calc(100% - 32px);
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* HERO */
  #inicio {
    padding-bottom: 48px;
    min-height: 560px;
  }

  .hero-content {
    padding-left: 24px;
  }

  .hero-title {
    font-size: clamp(64px, 18vw, 100px);
  }

  .hero-sub-mx {
    font-size: clamp(64px, 18vw, 100px);
  }

  .hero-sub-text span {
    font-size: clamp(11px, 3vw, 16px);
  }

  .scroll-hint {
    right: 24px;
    bottom: 20px;
  }

  /* Sections */
  section {
    padding: 80px 0;
  }

  .container {
    padding: 0 24px;
  }

  /* Servicios */
  .servicios-grid {
    grid-template-columns: 1fr;
  }

  .servicio-card {
    padding: 36px 24px;
  }

  /* Acerca */
  .acerca-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .acerca-stat {
    bottom: -16px;
    right: -8px;
    padding: 20px 24px;
  }

  .acerca-stat-number {
    font-size: 40px;
  }

  .acerca-values {
    gap: 24px;
  }

  /* Clientes */
  .clientes-grid {
    grid-template-columns: 1fr;
  }

  .cliente-card {
    padding: 32px 24px;
  }

  .logos-strip {
    justify-content: center;
  }

  /* Contacto */
  .contacto-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .btn-submit {
    width: 100%;
    text-align: center;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
}

/* ══════════════════════════════════
       RESPONSIVE — SMALL MOBILE (≤ 480px)
    ══════════════════════════════════ */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(52px, 20vw, 80px);
  }

  .hero-sub-mx {
    font-size: clamp(52px, 20vw, 80px);
  }

  .hero-sub-text span {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .acerca-img-frame::before {
    display: none;
  }

  .mobile-menu a {
    font-size: 34px;
  }

  .logos-strip {
    gap: 16px;
  }

  .logo-item {
    font-size: 16px;
  }
}

/* ══════════════════════════════════
       EQUIPO SECTION
    ══════════════════════════════════ */
#equipo {
  background: var(--dark, #0d0d0d);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

#equipo::after {
  content: '';
  position: absolute;
  top: -200px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.equipo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

/* Filter tabs */
.equipo-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 40px;
  padding: 6px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
  flex: 1;
}

.equipo-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 0;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.45);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s ease;
  flex: 1;
}

.tab-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.tab-btn:hover {
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  background: rgba(200, 169, 110, 0.15);
  color: var(--accent, #c8a96e);
  font-weight: 500;
}

.tab-btn.active svg {
  opacity: 1;
}

/* Cards grid */
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 280px;
  gap: 20px;
  align-items: stretch;
}

.talento-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  position: relative;
  transition: border-color 0.35s ease, transform 0.35s ease;
  display: none;
  flex-direction: column;
}

.talento-card.visible {
  display: flex;
}

.talento-card:hover {
  border-color: rgba(200, 169, 110, 0.3);
  transform: translateY(-4px);
}

.talento-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.35s ease;
}

.talento-card:hover .talento-photo {
  filter: grayscale(0%);
}

.talento-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  background: rgba(200, 169, 110, 0.15);
  border: 1px solid rgba(200, 169, 110, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.talento-badge svg {
  width: 14px;
  height: 14px;
  color: var(--accent, #c8a96e);
}

.talento-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.talento-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--accent, #c8a96e);
  margin-bottom: 4px;
}

.talento-verified {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.talento-verified svg {
  width: 13px;
  height: 13px;
  color: var(--accent, #c8a96e);
}

.talento-verified strong {
  color: var(--accent, #c8a96e);
  font-weight: 500;
}

.talento-role {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
}

.talento-role svg {
  width: 13px;
  height: 13px;
  opacity: 0.4;
}

.talento-expertise-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 8px;
}

.talento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.talento-tag {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 300;
}

.talento-prev-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
  margin-top: auto;
  padding-top: 20px;
}

.talento-company {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.25);
}

/* CTA card */
.equipo-cta-card {
  background: linear-gradient(145deg, #0f2461 0%, #0a1840 60%, #061030 100%);
  border: 1px solid rgba(100, 140, 255, 0.15);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.equipo-cta-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(100, 140, 255, 0.12) 0%, transparent 70%);
}

.equipo-cta-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--accent, #c8a96e);
}

.equipo-cta-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.02em;
}

.equipo-cta-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  line-height: 1.4;
}

.equipo-cta-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.equipo-cta-btn {
  background: var(--accent, #c8a96e);
  color: #0d0d0d;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s;
  width: 100%;
}

.equipo-cta-btn:hover {
  background: #dfc08a;
  transform: translateY(-2px);
}

/* Tab nav arrows */
.tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  width: 100%;
}

.tab-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: none;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.3s, color 0.3s;
}

.tab-arrow:hover {
  border-color: var(--accent, #c8a96e);
  color: var(--accent, #c8a96e);
}

.tab-arrow svg {
  width: 16px;
  height: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .equipo-grid {
    grid-template-columns: repeat(2, 1fr) 240px;
  }

  .talento-card:nth-child(3) {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #equipo {
    padding: 80px 0;
  }

  .equipo-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .equipo-grid {
    grid-template-columns: 1fr;
  }

  .equipo-cta-card {
    min-height: auto;
    padding: 32px 24px;
  }

  .talento-card:nth-child(3) {
    display: block !important;
  }

  .equipo-tabs {
    max-width: 100%;
  }
}