/* ════════════════════════════════════════════════════════
   BALDO DIGITAL — Custom Stylesheet
   Paleta: negro #0D0D0D · blanco #F8F8F5 · crema #F0F0EC
   Acento: cyan solo en fondos oscuros
════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════
   1. VARIABLES Y RESET
══════════════════════════════════════════ */

:root {
  --bd-black:     #0D0D0D;
  --bd-surface:   #141414;
  --bd-white:     #F8F8F5;
  --bd-off:       #F0F0EC;
  --bd-border:    rgba(0,0,0,0.09);
  --bd-muted:     #050c0e;
  --bd-negro:     #1a1015;
  --bd-cyan-dim:  #a09b9d;
  --bd-radius:    12px;
  --bd-radius-lg: 20px;
  --bd-t:         0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bd-white);
  color: var(--bd-black);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.65;
}


/* ══════════════════════════════════════════
   2. NAVBAR
══════════════════════════════════════════ */

.bd-navbar {
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(19,10,10,0.05);
  padding: 12px 0;
  transition: transform 0.3s ease;
}
.bd-nav-logo {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.bd-navbar .nav-link {
  color: rgba(248,248,245,0.65);
  font-weight: 400;
  font-size: 15px;
  padding: 6px 12px;
  transition: color var(--bd-t);
}
.bd-navbar .nav-link:hover { color: var(--bd-white); }

.bd-btn-nav {
  background: rgba(255,255,255,0.08);
  color: var(--bd-white);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 18px;
  transition: all var(--bd-t);
}
.bd-btn-nav:hover {
  background: var(--bd-white);
  color: var(--bd-black);
  border-color: var(--bd-white);
}


/* ══════════════════════════════════════════
   3. HERO
══════════════════════════════════════════ */

.bd-hero {
  background: var(--bd-black);
  position: relative;
  overflow: hidden;
}
.bd-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(28,29,29,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.bd-hero .container {
  padding-left: 0;
  padding-right: 0;
}
.min-vh-85 { min-height: 85vh; }

.bd-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--bd-cyan-dim);
  display: block;
  margin-bottom: 16px;
}
.bd-headline {
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--bd-white);
  margin-bottom: 20px;
}
.bd-headline em {
  font-style: italic;
  color: var(--bd-cyan-dim);
}
.bd-subhead {
  font-size: 18px;
  color: #faf7f8;
  max-width: 460px;
  font-weight: 300;
  line-height: 1.75;
}
.bd-hero-visual { position: relative; display: inline-block; }
.bd-hero-img {
  border-radius: var(--bd-radius-lg);
  width: 100%;
  max-width: 700px;
  object-fit: contain;
  opacity: 0.88;
}
.bd-hero-badge {
  position: absolute;
  bottom: 20px; left: -16px;
  background: rgba(21,7,22,0.493);
  border: 1px solid rgba(153,92,147,0.28);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,251,255,0.945);
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
}


/* ══════════════════════════════════════════
   4. SECCIONES — ESTRUCTURA GENERAL
══════════════════════════════════════════ */

.bd-section       { padding: 90px 0; }
.bd-section--alt  { background: var(--bd-off); }
.bd-section--dark { background: var(--bd-black); }

.bd-tag {
  font-family: 'DM Mono', monospace;
  font-size: 15px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color:  rgba(2, 32, 17, 0.712); 
  background: rgba(120, 204, 190, 0.342); 
  border: 2px solid rgba(24, 5, 5, 0.014);
  border-radius: 100px;
  padding: 5px 14px;
  display: inline-block;
  margin-bottom: 16px;

}
.bd-tag--on-dark {
  color: var(--bd-cyan-dim);
  background: rgba(0,5,5,0.12);
  border-color: rgba(1,12,12,0.28);
}
.bd-section-title {
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--bd-black);
}
.bd-section-title--light { color: var(--bd-white); }
.bd-section-sub {
  font-size: 16px;
  color: var(--bd-muted);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto;
}
.bd-section-sub--light { color: rgba(248,248,245,0.5); }

.bd-divider-section {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.685);
  margin: 0;
}


/* ══════════════════════════════════════════
   5. BOTONES GLOBALES
══════════════════════════════════════════ */

.bd-btn-primary {
  background: rgba(0, 0, 0, 0.685);
  color: rgb(248, 244, 244);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  transition: all var(--bd-t);
}
.bd-btn-primary:hover {
  background: var(--bd-off);
  color: var(--bd-black);
  transform: translateY(-1px);
}
.bd-btn-ghost {
  background: transparent;
  color: rgba(248,248,245,0.7);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  font-size: 15px;
  padding: 12px 24px;
  transition: all var(--bd-t);
}
.bd-btn-ghost:hover {
  border-color: rgba(255,255,255,0.45);
  color: var(--bd-white);
}
.bd-btn-whatsapp {
  color: #a6ecc0;
  border-color: #509b6b;
  align-content: center;
}
.bd-btn-whatsapp:hover {
  background: #25D366 !important;
  color: var(--bd-white) !important;
}


/* ══════════════════════════════════════════
   6. SERVICIOS — CARDS GRANDES
══════════════════════════════════════════ */

.bd-card {
  background: var(--bd-white);
  border: 1px solid var(--bd-border);
  border-radius: var(--bd-radius-lg);
  padding: 36px 32px;
  transition: all var(--bd-t);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bd-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--bd-black);
  transform: scaleX(0);
  transition: transform var(--bd-t);
  transform-origin: left;
}
.bd-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.14); }
.bd-card:hover::before { transform: scaleX(1); }

.bd-card-icon {
  width: 46px; height: 46px;
  background: rgba(0,0,0,0.05);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--bd-black);
  margin-bottom: 20px;
}
.bd-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.bd-card-text {
  font-size: 16px;
  color: #555;
  margin-bottom: 16px;
  flex-grow: 1;
}
.bd-feature-list {
  list-style: none;
  padding: 0; margin: 0 0 24px;
}
.bd-feature-list li {
  font-size: 14px;
  color: #444;
  padding: 4px 0;
  display: flex; align-items: center; gap: 8px;
}
.bd-feature-list li i { color: var(--bd-black); font-size: 13px; }

.bd-btn-card {
  background: var(--bd-black);
  color: var(--bd-white);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  transition: all var(--bd-t);
  align-self: flex-start;
}
.bd-btn-card:hover { background: #333; color: var(--bd-white); }


/* ══════════════════════════════════════════
   7. TRABAJOS — BOTÓN VER/OCULTAR
══════════════════════════════════════════ */

.bd-btn-trabajos {
  background: var(--bd-black);
  color: var(--bd-white);
  border: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.bd-btn-trabajos:hover {
  background: #333;
  color: var(--bd-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

.bd-trabajos-hidden { display: none; }
.bd-trabajos-visible {
  display: block;
  animation: fadeInUp 0.5s ease forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ══════════════════════════════════════════
   8. TRABAJOS — CARDS DE PORTFOLIO
══════════════════════════════════════════ */

.bd-work-card {
  cursor: pointer;
  border-radius: 12px;
  overflow: visible;
  background: transparent;
  border: none;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.bd-work-card:hover { transform: translateY(-4px); }

.bd-work-info {
  padding: 0 0.25rem 0.75rem;
}
.bd-work-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1D9E75;
  margin-bottom: 0.3rem;
  min-height: 2.2em;  
}

.bd-work-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
  color: #1a1a1a;
}
.bd-work-desc {
  font-size: 0.78rem;
  color: #777;
  margin: 0;
  line-height: 1.5;
}
.bd-work-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.09);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  background: #f5f5f5;
  margin-top: auto;
}
.bd-work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}
.bd-work-card:hover .bd-work-thumb img { transform: scale(1.03); }

.bd-work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 1.8rem;
  color: #fff;
  border-radius: 12px;
}
.bd-work-card:hover .bd-work-overlay { opacity: 1; }


/* ══════════════════════════════════════════
   9. TRABAJOS — MODALES
══════════════════════════════════════════ */

.bd-modal-content {
  background: #161616;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
}
.bd-modal-header {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 1.2rem 1.5rem;
}
.bd-modal-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f0f0f0;
  margin: 0.2rem 0 0;
}
.bd-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: vh;
}
.bd-modal-desc {
  color: #aaa;
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}
.bd-modal-img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.07);
  display: block;
}


/* ══════════════════════════════════════════
   10. PROCESO — ACCORDION
══════════════════════════════════════════ */

.bd-accordion { border: none; }
.bd-accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.bd-accordion-btn {
  background: transparent !important;
  font-weight: 500;
  font-size: 15px;
  color: var(--bd-black) !important;
  padding: 18px 0;
  gap: 16px;
  box-shadow: none !important;
}
.bd-step-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  color: var(--bd-black);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.bd-accordion-btn:not(.collapsed) .bd-step-num { color: var(--bd-black); }
.bd-accordion-body {
  font-size: 15px;
  color: #555;
  padding: 0 0 18px 36px;
  font-weight: 300;
}


/* ══════════════════════════════════════════
   11. CONTACTO — FORMULARIO
══════════════════════════════════════════ */

.bd-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--bd-radius-lg);
  padding: 44px 40px;
}
.bd-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(248,248,245,0.65);
  margin-bottom: 6px;
  display: block;
}
.bd-input {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 9px !important;
  color: var(--bd-white) !important;
  font-size: 15px;
  padding: 12px 16px;
  transition: border-color var(--bd-t), box-shadow var(--bd-t);
}
.bd-input::placeholder { color: rgba(248,248,245,0.28) !important; }
.bd-input:focus {
  border-color: rgba(255,255,255,0.4) !important;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06) !important;
  outline: none;
}
.bd-input option { background: #1a1a1a; color: var(--bd-white); }

.bd-btn-submit {
  background: var(--bd-white);
  color: var(--bd-black);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  transition: all var(--bd-t);
}
.bd-btn-submit:hover {
  background: var(--bd-off);
  color: var(--bd-black);
  transform: translateY(-1px);
}
.bd-alert-success {
  background: rgba(0,7,7,0.1);
  border: 1px solid rgba(0,7,7,0.25);
  color: var(--bd-cyan);
  border-radius: 9px;
  font-size: 14px;
  text-align: center;
}


/* ══════════════════════════════════════════
   12. FOOTER
══════════════════════════════════════════ */

.bd-footer {
  background: #0A0A0A;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 28px 0;
}
.bd-footer-copy { font-size: 13px; color: rgba(248,248,245,0.3); }
.bd-footer-link {
  color: rgba(248,248,245,0.35);
  font-size: 18px;
  text-decoration: none;
  transition: color var(--bd-t);
}
.bd-footer-link:hover { color: var(--bd-white); }


/* ══════════════════════════════════════════
   13. RESPONSIVE
══════════════════════════════════════════ */

@media (min-width: 992px) {
  #trabajos .col-lg-3 { width: 20%; }
}

@media (max-width: 991.98px) {
  .bd-hero-badge { left: 0; bottom: -14px; }
  .bd-form-wrap { padding: 32px 24px; }
}

@media (max-width: 768px) {
  .bd-headline      { font-size: 2.2rem; }
  .bd-section-title { font-size: 1.8rem; }
  .bd-subhead       { font-size: 1rem; }
  .bd-eyebrow       { font-size: 0.75rem; }
}

@media (max-width: 767.98px) {
  .bd-section  { padding: 72px 0; }
  .bd-hero-img { max-width: 100%; }
}
