/*
 Theme Name:   Brainding Child
 Theme URI:    https://braindingroup.xyz
 Description:  Child theme for Brainding Group - Aixor base
 Author:       Emmanuel
 Template:     aixor
 Version:      1.0.0
*/

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&display=swap');

/* CSS VARIABLES */
:root {
  --color-bg:           #000000;
  --color-bg-alt:       #0a0a0a;
  --color-bg-light:     #ffffff;
  --color-bg-gray:      #f2f2f2;
  --color-text-primary: #ffffff;
  --color-text-dark:    #0a0a0a;
  --color-text-muted:   #999999;
  --color-text-muted2:  #666666;
  --neon:    #C5F500;
  --teal:    #3BFFF0;
  --navy:    #0A0A5A;
  --purple:  #4B00E0;
  --gap-sm:  16px;
  --gap-md:  32px;
  --gap-lg:  64px;
  --gap-xl:  96px;
}

/* TIPOGRAFIA GLOBAL */
*, *::before, *::after { box-sizing: border-box; }

body,
h1, h2, h3, h4, h5, h6,
p, a, span, li, button, input, textarea, select {
  font-family: 'Inter', sans-serif !important;
}

/* CONTENEDOR */
.custom-container { max-width: 1440px; margin: 0 auto; }

/* NAVBAR */
.header-main,
.header-sec,
.site-header {
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.header-scrolled {
  background: rgba(0,0,0,0.92) !important;
  backdrop-filter: blur(12px);
}
.nav-link,
.main-navigation a,
.header-nav a {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--color-text-muted) !important;
  transition: color 0.2s ease;
}
.nav-link:hover,
.main-navigation a:hover,
.header-nav a:hover { color: #ffffff !important; }

/* CTA nav */
.header-cta-btn,
.nav-btn,
a.theme-btn.header-btn {
  background: var(--neon) !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border-radius: 30px !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border: none !important;
}

/* BOTONES GLOBALES */
.theme-btn {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border-radius: 30px !important;
  transition: all 0.3s ease;
}

/* HERO */
.bd-hero {
  background: var(--color-bg);
  min-height: calc(100vh + 36px);
  padding: 0 72px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.bd-hero-top {
  max-width: 408px;
  padding-top: 136px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.bd-eyebrow {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--color-text-muted) !important;
  display: block;
}
.bd-eyebrow--neon { color: var(--neon) !important; }
.bd-eyebrow--teal { color: var(--teal) !important; }

.bd-hero-headline {
  font-size: clamp(56px, 7vw, 96px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  line-height: 0.9 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  margin: 0;
}
.bd-rotating-word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
#bd-rotating-word {
  display: inline-block;
  color: var(--neon);
}
.bd-hero-subline {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--color-text-muted) !important;
  line-height: 20px !important;
  max-width: 420px;
  margin-top: 16px;
}
.bd-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.6px solid var(--neon) !important;
  color: var(--neon) !important;
  background: transparent !important;
  border-radius: 30px !important;
  padding: 14px 24px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  transition: all 0.3s ease;
  margin-top: 24px;
  text-decoration: none !important;
}
.bd-hero-cta:hover {
  background: var(--neon) !important;
  color: #000000 !important;
}
.bd-locations {
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--color-text-muted2) !important;
  display: block;
  margin-top: 12px;
}

/* Hero shapes */
.bd-hero-shape {
  position: absolute;
  right: -51px;
  bottom: 0;
  width: 508px;
  height: 488px;
  z-index: 0;
  pointer-events: none;
}
.bd-hero-shape-sm {
  position: absolute;
  top: 80px;
  right: 80px;
  width: 120px;
  height: 120px;
  opacity: 0.12;
  pointer-events: none;
}

/* SECTIONS SHARED */
.bd-section           { padding: 120px 72px; }
.bd-section--large    { padding: 160px 72px; }
.bd-section--dark     { background: var(--color-bg-alt); color: #fff; }
.bd-section--white    { background: var(--color-bg-light); }
.bd-section--gray     { background: var(--color-bg-gray); }

.bd-section-title {
  font-size: 48px !important;
  font-weight: 400 !important;
  letter-spacing: -2px !important;
  line-height: 60px !important;
  margin: 0 !important;
}
.bd-section-title--bold {
  font-weight: 900 !important;
  text-transform: uppercase !important;
}
.bd-section-tagline {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--color-text-muted2) !important;
  margin-top: 12px;
}

/* WHAT WE DO - SERVICES */
.bd-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
  margin-top: var(--gap-lg);
}
.bd-service-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0;
  border-top: 0.5px solid rgba(0,0,0,0.1);
}
.bd-service-icon { width: 72px; height: 72px; flex-shrink: 0; }
.bd-service-icon svg { width: 72px; height: 72px; }
.bd-service-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--color-text-dark) !important;
}
.bd-service-desc {
  font-size: 13px !important;
  font-weight: 300 !important;
  color: var(--color-text-muted2) !important;
  line-height: 1.6 !important;
}
.bd-service-item:hover .shape-pentagon {
  transform: scale(1.08) rotate(15deg);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.bd-service-item:hover .shape-castle {
  transform: translateY(-8px);
  transition: transform 0.3s ease;
}

/* WHO WE ARE */
.bd-who-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--gap-lg);
  margin-top: var(--gap-lg);
}
.bd-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md);
}
.bd-team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(100%) !important;
}
.bd-team-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #1a1a1a;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.bd-team-name {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  margin-top: 12px;
  display: block;
}
.bd-team-role {
  font-size: 11px !important;
  color: rgba(255,255,255,0.4) !important;
  display: block;
  margin-top: 2px;
}
.bd-team-link {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--teal) !important;
  text-decoration: none !important;
  display: inline-block;
  margin-top: 6px;
}
.bd-team-link:hover { text-decoration: underline !important; }
.bd-network-note {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--teal) !important;
  margin-top: 20px;
  display: block;
}
.bd-who-body {
  font-size: 15px !important;
  font-weight: 300 !important;
  color: rgba(255,255,255,0.6) !important;
  line-height: 1.8 !important;
}

/* OUR WORK PORTFOLIO */
.bd-portfolio-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: var(--gap-lg);
}
.bd-portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #e0e0e0;
  border-radius: 2px;
}
.bd-portfolio-item:first-child {
  grid-row: span 2;
  min-height: 520px;
}
.bd-portfolio-item:not(:first-child) { aspect-ratio: 4/3; }
.bd-portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) !important;
  transition: transform 0.3s ease;
  display: block;
}
.bd-portfolio-item:hover { transform: scale(0.98); transition: transform 0.3s ease; }
.bd-portfolio-overlay {
  position: absolute; inset: 0;
  background: var(--teal);
  opacity: 0;
  mix-blend-mode: multiply;
  transition: opacity 0.3s ease;
}
.bd-portfolio-item:hover .bd-portfolio-overlay { opacity: 0.6; }
.bd-portfolio-info {
  position: absolute; bottom: 16px; left: 16px; z-index: 1;
}
.bd-portfolio-cat {
  font-size: 10px !important; font-weight: 600 !important;
  letter-spacing: 0.15em !important; text-transform: uppercase !important;
  color: rgba(0,0,0,0.5) !important; display: block;
}
.bd-portfolio-title {
  font-size: 15px !important; font-weight: 700 !important;
  text-transform: uppercase !important; letter-spacing: 0.05em !important;
  color: #000 !important;
}
.bd-portfolio-placeholder {
  width: 100%; height: 100%; min-height: 220px;
  background: #d4d4d4;
  display: flex; align-items: center; justify-content: center;
  color: rgba(0,0,0,0.3); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* EXPERTISE SKILLS */
.bd-skill-list { margin-top: var(--gap-lg); }
.bd-skill-item {
  display: flex; align-items: baseline; gap: 20px;
  padding: 18px 0;
  border-bottom: 0.5px solid rgba(0,0,0,0.1);
  cursor: default;
}
.bd-skill-num {
  font-size: 10px !important; color: #888888 !important;
  font-weight: 400 !important; min-width: 24px;
}
.bd-skill-name {
  font-size: clamp(20px, 2.5vw, 28px) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--color-text-dark) !important;
  transition: color 0.2s ease;
}
.bd-skill-item:hover .bd-skill-name { color: var(--purple) !important; }
.bd-expertise-quote {
  font-size: 18px !important; font-weight: 300 !important;
  color: var(--teal) !important;
  border-left: 3px solid var(--teal);
  padding-left: 20px; max-width: 320px;
  margin-top: 40px; line-height: 1.5;
}

/* CONTACT SECTION */
.bd-contact-headline {
  font-size: clamp(48px, 8vw, 96px) !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.03em !important;
  line-height: 0.9 !important;
  color: #ffffff !important;
}
.bd-contact-headline .accent { color: var(--neon) !important; }
.bd-contact-subline {
  font-size: 14px !important; font-weight: 300 !important;
  color: rgba(255,255,255,0.4) !important;
  display: block; margin-top: 16px; margin-bottom: 48px !important;
}
.bd-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.bd-field-full { grid-column: span 2; }
.bd-form-field { display: flex; flex-direction: column; gap: 6px; }
.bd-form-label {
  font-size: 10px !important; font-weight: 600 !important;
  letter-spacing: 0.15em !important; text-transform: uppercase !important;
  color: rgba(255,255,255,0.4) !important;
}
.bd-form-input,
.bd-form-textarea {
  background: rgba(255,255,255,0.05) !important;
  border: 0.5px solid rgba(255,255,255,0.15) !important;
  border-radius: 2px !important;
  padding: 14px 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #ffffff !important;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}
.bd-form-input:focus,
.bd-form-textarea:focus { border-color: var(--neon) !important; }
.bd-form-textarea { min-height: 120px; resize: vertical; }
.bd-form-submit {
  grid-column: span 2; width: 100%;
  background: var(--neon) !important; color: #000000 !important;
  border: none !important;
  padding: 16px 24px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important; font-size: 14px !important;
  letter-spacing: 0.08em !important; text-transform: uppercase !important;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 2px !important;
}
.bd-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197,245,0,0.25);
}
.bd-form-note {
  font-size: 11px !important; color: #666666 !important;
  margin-top: 12px; display: block;
}
.bd-contact-locations {
  font-size: 11px !important; letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.25) !important;
  margin-top: 64px; display: block;
}

/* FOOTER */
.bd-footer {
  background: #000000;
  border-top: 0.5px solid rgba(255,255,255,0.08);
  padding: 32px 72px;
  display: flex; justify-content: space-between; align-items: center;
}
.bd-footer-brand {
  font-size: 13px !important; font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  color: rgba(255,255,255,0.7) !important;
  text-transform: uppercase; display: block;
}
.bd-footer-copy {
  font-size: 11px !important;
  color: rgba(255,255,255,0.3) !important;
  margin-top: 4px; display: block;
}
.bd-footer-links { display: flex; gap: 24px; align-items: center; }
.bd-footer-link {
  font-size: 11px !important; font-weight: 600 !important;
  letter-spacing: 0.1em !important; text-transform: uppercase !important;
  color: rgba(255,255,255,0.5) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.bd-footer-link:hover { color: var(--neon) !important; }

/* STICKY QUOTE FORM */
.sticky-quote {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #000000;
  border-top: 2px solid var(--neon);
  transform: translateY(calc(100% - 52px));
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.sticky-quote.is-open  { transform: translateY(0); }
.sticky-quote.is-submitted { display: none !important; }
.sticky-tab {
  height: 52px; display: flex; align-items: center; gap: 10px;
  padding: 0 24px; cursor: pointer; justify-content: space-between;
}
.sticky-tab-left { display: flex; align-items: center; gap: 10px; }
.sticky-dot {
  width: 8px; height: 8px;
  background: var(--neon); border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(1.3); }
}
.sticky-label {
  font-size: 12px !important; font-weight: 700 !important;
  letter-spacing: 0.15em !important; text-transform: uppercase !important;
  color: var(--neon) !important;
}
.sticky-arrow {
  color: var(--neon); font-size: 14px;
  transition: transform 0.3s ease; display: inline-block;
}
.sticky-quote.is-open .sticky-arrow { transform: rotate(180deg); }
.sticky-drawer {
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.sticky-field { display: flex; flex-direction: column; gap: 4px; }
.sticky-field-label {
  font-size: 9px !important; font-weight: 600 !important;
  letter-spacing: 0.12em !important; text-transform: uppercase !important;
  color: rgba(255,255,255,0.4) !important;
}
.sticky-input,
.sticky-select {
  background: rgba(255,255,255,0.05) !important;
  border: 0.5px solid rgba(255,255,255,0.15) !important;
  border-radius: 2px !important;
  padding: 10px 14px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important; color: #ffffff !important; outline: none;
  transition: border-color 0.2s ease;
}
.sticky-input:focus,
.sticky-select:focus { border-color: var(--neon) !important; }
.sticky-select option { background: #000; color: #fff; }
.sticky-submit-btn {
  background: var(--neon) !important; color: #000 !important;
  border: none !important; padding: 10px 20px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important; font-size: 13px !important;
  cursor: pointer; white-space: nowrap; border-radius: 2px !important;
  transition: opacity 0.2s;
}
.sticky-submit-btn:hover { opacity: 0.85; }

/* GLOBAL IMAGES — grayscale */
img { filter: grayscale(100%); }
.site-logo img, .custom-logo, header img, .header-logo img,
.wp-site-logo img, .site-branding img { filter: none !important; }

/* ANIMATIONS UTILITY */
[data-aos] { transition-property: opacity, transform; }

/* RESPONSIVE — TABLET 1024px */
@media (max-width: 1024px) {
  .bd-hero { padding-left: 40px !important; padding-right: 40px !important; }
  .bd-section, .bd-section--large { padding-left: 40px !important; padding-right: 40px !important; }
  .bd-services-grid { grid-template-columns: repeat(2,1fr) !important; }
  .bd-portfolio-grid { grid-template-columns: 1fr 1fr !important; }
  .bd-portfolio-item:first-child { grid-row: auto; }
  .bd-who-grid { grid-template-columns: 1fr !important; }
  .bd-footer { padding-left: 40px !important; padding-right: 40px !important; }
  .sticky-drawer { grid-template-columns: 1fr 1fr auto !important; }
}

/* RESPONSIVE — MOBILE 768px */
@media (max-width: 768px) {
  /* Global */
  body { overflow-x: hidden; }
  .e-con, .e-con-inner { max-width: 100% !important; }

  /* Hero */
  .bd-hero { padding: 96px 24px 40px !important; min-height: auto !important; }
  .bd-hero-headline { font-size: clamp(38px, 11vw, 56px) !important; line-height: 0.92 !important; }
  .bd-hero-shape { display: none !important; }
  .bd-hero-shape-sm { display: none !important; }
  .shape-starburst-hero { display: none !important; }
  .bd-hero-cta { font-size: 14px !important; padding: 12px 20px !important; }

  /* Sections */
  .bd-section { padding: 64px 24px !important; }
  .bd-section--large { padding: 80px 24px !important; }
  .bd-section-title { font-size: 30px !important; line-height: 1.15 !important; letter-spacing: -0.5px !important; }

  /* Services */
  .bd-services-grid { grid-template-columns: 1fr !important; }

  /* Portfolio */
  .bd-portfolio-grid { grid-template-columns: 1fr !important; }
  .bd-portfolio-item:first-child { grid-row: auto; min-height: 260px !important; }

  /* Who We Are */
  .bd-who-grid { grid-template-columns: 1fr !important; }
  .bd-team-grid { grid-template-columns: 1fr 1fr !important; }

  /* Contact */
  .bd-contact-headline { font-size: clamp(34px, 10vw, 52px) !important; }
  .bd-form-grid { grid-template-columns: 1fr !important; }
  .bd-field-full, .bd-form-submit { grid-column: span 1 !important; }

  /* Footer */
  .bd-footer { flex-direction: column; gap: 20px; text-align: center; padding: 28px 24px !important; }
  .bd-footer-links { justify-content: center; }

  /* Sticky quote */
  .sticky-drawer { grid-template-columns: 1fr !important; }
  .sticky-submit-btn { width: 100%; }

  /* Elementor container padding reset */
  .elementor-section .elementor-container,
  .e-con { padding-left: 24px !important; padding-right: 24px !important; }
}

/* RESPONSIVE — SMALL MOBILE 480px */
@media (max-width: 480px) {
  .bd-hero-headline { font-size: clamp(34px, 10vw, 44px) !important; }
  .bd-contact-headline { font-size: clamp(30px, 9vw, 40px) !important; }
  .bd-skill-name { font-size: 18px !important; }
  .bd-hero { padding-top: 80px !important; }
}
