/* ============================================
   TÓTEM Ingeniería de Marca
   CSS Global — totem.css
   Versión 1.0 · Julio 2025
============================================ */

/* === IMPORT FONT === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700;900&display=swap');

/* === VARIABLES === */
:root {
  --navy:      #0c1060;
  --navy-dark: #080d4a;
  --teal:      #65DCD9;
  --white:     #ffffff;
  --line:      rgba(255,255,255,0.08);
  --muted:     rgba(255,255,255,0.4);
  --dim:       rgba(255,255,255,0.25);
  --faint:     rgba(255,255,255,0.04);
  --font:      'Montserrat', sans-serif;
}

/* === RESET === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* === NAVEGACIÓN GLOBAL === */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 48px;
  border-bottom: 0.5px solid var(--line);
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  user-select: none;
  -webkit-user-select: none;
}

.nav-logo {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--white);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

/* Botón hamburger móvil */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 12px;
  margin: -12px;
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
  pointer-events: none;
}

/* === SECCIONES GENÉRICAS === */
.section {
  padding: 80px 48px;
  border-bottom: 0.5px solid var(--line);
}

.section-eyebrow {
  font-size: 10px;
  font-weight: 900;
  color: rgba(101,220,217,0.4);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* === BOTONES === */
.btn-primary {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 900;
  color: var(--navy);
  background: var(--teal);
  padding: 16px 40px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-ghost:hover {
  color: var(--teal);
}

.btn-outline {
  display: inline-block;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 900;
  color: var(--teal);
  background: rgba(101,220,217,0.08);
  border: 0.5px solid rgba(101,220,217,0.3);
  padding: 16px 40px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
}

.btn-outline:hover {
  background: rgba(101,220,217,0.14);
}

/* === FOTO PLACEHOLDER (para usar hasta tener fotos reales) === */
.foto-placeholder {
  background: rgba(255,255,255,0.03);
  border: 0.5px dashed rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 320px;
}

.foto-placeholder-icon {
  font-size: 28px;
  color: rgba(255,255,255,0.1);
}

.foto-placeholder-label {
  font-size: 10px;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.9;
}

/* === FOOTER GLOBAL === */
.footer {
  background: var(--navy-dark);
  border-top: 0.5px solid rgba(255,255,255,0.1);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  border-bottom: 0.5px solid var(--line);
}

.footer-col {
  padding: 48px 40px;
}

.footer-col.center {
  border-left: 0.5px solid var(--line);
  border-right: 0.5px solid var(--line);
}

.footer-logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  line-height: 1.75;
  max-width: 200px;
}

.footer-cat {
  font-size: 10px;
  font-weight: 900;
  color: rgba(101,220,217,0.5);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 20px;
}

.footer-manifiesto {
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.footer-manifiesto em {
  font-style: normal;
  color: var(--teal);
}

.footer-manifiesto-sub {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
}

.footer-social-label {
  font-size: 10px;
  font-weight: 900;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-social-btn:hover {
  background: rgba(101,220,217,0.08);
  border-color: rgba(101,220,217,0.3);
}

.footer-social-btn:hover .fsb-arrow {
  color: var(--teal);
}

.fsb-icon {
  font-size: 13px;
  font-weight: 900;
  color: rgba(255,255,255,0.4);
  width: 20px;
  text-align: center;
}

.fsb-text { flex: 1; }

.fsb-name {
  font-size: 12px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 2px;
}

.fsb-handle {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
}

.fsb-arrow {
  font-size: 14px;
  color: rgba(255,255,255,0.2);
  transition: color 0.2s;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border-bottom: 0.5px solid var(--line);
}

.footer-nav-col {
  padding: 32px 40px;
}

.footer-nav-title {
  font-size: 10px;
  font-weight: 900;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-links a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: color 0.2s;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.footer-nav-links a:hover {
  color: var(--teal);
}

.footer-nav-links a.highlight {
  color: rgba(101,220,217,0.7);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav-links a.highlight:hover {
  color: var(--teal);
}

.footer-nav-info {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.25);
  margin-top: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.footer-copy {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.4);
}

.footer-domain {
  font-size: 10px;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav {
    padding: 18px 24px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 18px;
    letter-spacing: 0.1em;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .section {
    padding: 56px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-col.center {
    border-left: none;
    border-right: none;
    border-top: 0.5px solid var(--line);
    border-bottom: 0.5px solid var(--line);
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .btn-primary, .btn-outline {
    width: 100%;
    text-align: center;
    display: block;
  }
}
