/* ==========================================
   PALETA Y AJUSTES BASE
========================================== */
:root {
  --brand: #FF7A19;
  --brand-dark: #C85C0A;
  --muted: #6B7280;
  --text: #1D1F23;
  --bg: #F1F3F6;       /* Fondo gris neutro neumórfico */
}

* { box-sizing: border-box; }
body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

/* ==========================================
   NAVBAR – GLASSMORPHISM
========================================== */
.navbar {
  padding: .85rem 0;
  transition: background .3s, box-shadow .3s;
}

.navbar .brand-text,
.navbar .nav-link {
  color: #fff;
  transition: color .2s;
}

.navbar.navbar-scrolled {
  background: rgba(255,255,255,0.20) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.35);
}

.navbar.navbar-scrolled .brand-text,
.navbar.navbar-scrolled .nav-link {
  color: var(--text) !important;
}

/* Botón idioma glass */
.btn-lang {
  background: rgba(255,255,255,0.22) !important;
  backdrop-filter: blur(8px);
  padding: .35rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
}
.navbar.navbar-scrolled .btn-lang {
  background: rgba(255,255,255,0.45) !important;
  color: var(--text);
  border: 1px solid rgba(0,0,0,0.1);
}

/* ==========================================
   HERO
========================================== */
#heroVideo { position: relative; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.55));
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 3;
}
.btn-cta {
  background: var(--brand);
  color: #111;
  font-weight: 700;
  border-radius: .75rem;
  padding: .8rem 1.2rem;
  box-shadow: 0 8px 24px rgba(255,122,25,.25);
}
.btn-cta:hover {
  background: var(--brand-dark);
  color: #fff;
}

/* ==========================================
   TITULOS
========================================== */
.section-title {
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
}

/* ==========================================
   NEUMORPHISM – TARJETAS Y ELEMENTOS
========================================== */

/* Fondo neumórfico */
.bg-section {
  background: var(--bg) !important;
}

/* ---- SERVICIOS ---- */
.service-card {
  background: var(--bg) !important;
  border-radius: 18px;
  padding: 2rem;
  box-shadow:
      8px 8px 16px rgba(0,0,0,0.12),
      -8px -8px 16px rgba(255,255,255,0.9);
  transition: all .25s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow:
      4px 4px 8px rgba(0,0,0,0.15),
      -4px -4px 8px rgba(255,255,255,1);
}
.icon-wrap {
  width: 56px; height: 56px;
  background: var(--bg) !important;
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--brand);
  box-shadow:
    inset 4px 4px 8px rgba(0,0,0,0.12),
    inset -4px -4px 8px rgba(255,255,255,0.9);
}

/* ---- PROCESOS ---- */
#procesos .text-center {
  background: var(--bg);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow:
      7px 7px 14px rgba(0,0,0,0.12),
      -7px -7px 14px rgba(255,255,255,0.95);
  transition: all .25s ease;
}
#procesos .text-center:hover {
  transform: translateY(-4px);
}

/* ---- OFICINAS ---- */
#oficinas h5 {
  background: var(--bg);
  border-radius: 18px;
  padding: 1rem;
  box-shadow:
      6px 6px 12px rgba(0,0,0,0.1),
      -6px -6px 12px rgba(255,255,255,1);
}

/* ---- WHATSAPP CARDS ---- */
.whatsapp-card {
  background: var(--bg) !important;
  border-radius: 18px !important;
  padding: 1.4rem;
  box-shadow:
      8px 8px 16px rgba(0,0,0,0.12),
      -8px -8px 16px rgba(255,255,255,0.95);
  transition: all .25s ease;
}
.whatsapp-card:hover {
  transform: translateY(-3px);
}

/* Botón Whatsapp neumorphism */
.btn-whatsapp {
  background: var(--bg) !important;
  color: var(--brand);
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 1.4rem;
  box-shadow:
    inset 4px 4px 8px rgba(0,0,0,0.12),
    inset -4px -4px 8px rgba(255,255,255,0.9);
}
.btn-whatsapp:hover {
  background: var(--brand) !important;
  color: #fff !important;
  box-shadow: none;
}

/* ---- FORMULARIO ---- */
#contactForm {
  background: var(--bg) !important;
  border-radius: 22px;
  box-shadow:
      9px 9px 18px rgba(0,0,0,0.15),
      -9px -9px 18px rgba(255,255,255,0.95);
}
#contactForm input,
#contactForm textarea,
#contactForm select {
  background: var(--bg) !important;
  border-radius: 12px;
  border: none;
  box-shadow:
      inset 4px 4px 8px rgba(0,0,0,0.12),
      inset -4px -4px 8px rgba(255,255,255,0.9);
}
#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
  outline: none !important;
  box-shadow:
      inset 2px 2px 4px rgba(0,0,0,0.18),
      inset -2px -2px 4px rgba(255,255,255,1);
}

/* ==========================================
   PROYECTOS – GLASS + NEUMORPHISM MIXs
========================================== */

#carouselProyectos img {
  height: 550px;
  object-fit: cover;
}

.carousel-caption {
  background: rgba(255,255,255,0.20);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 1rem 1.5rem;
  box-shadow:
    6px 6px 12px rgba(0,0,0,0.15),
    -6px -6px 12px rgba(255,255,255,0.95);
}
/* =========================================================
   EQUIPO — FOTOS IGUALES + MARCO NEUMORFISMO PREMIUM
========================================================= */

.team-photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover; /* IMPORTANTE → recorta pero mantiene proporción */
  padding: 12px;

  background: #F1F3F6;
  box-shadow:
      8px 8px 16px rgba(0,0,0,0.12),
      -8px -8px 16px rgba(255,255,255,0.95),
      inset 4px 4px 8px rgba(0,0,0,0.08),
      inset -4px -4px 8px rgba(255,255,255,1);

  transition: all .25s ease;
}

.team-photo:hover {
  transform: translateY(-4px);
  box-shadow:
      4px 4px 8px rgba(0,0,0,0.18),
      -4px -4px 8px rgba(255,255,255,1),
      inset 2px 2px 4px rgba(0,0,0,0.08),
      inset -2px -2px 4px rgba(255,255,255,0.95);
}

/* Centrado mejorado */
#equipo .col-md-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* ===== Redes Sociales (Neumorphism Icons) ===== */
.social-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--brand);
  text-decoration: none;

  box-shadow:
      inset 4px 4px 8px rgba(0,0,0,0.12),
      inset -4px -4px 8px rgba(255,255,255,0.95),
      6px 6px 12px rgba(0,0,0,0.12),
      -6px -6px 12px rgba(255,255,255,0.95);

  transition: all .25s ease;
}

.social-icon:hover {
  background: var(--brand);
  color: #fff;
  box-shadow: none;
  transform: translateY(-3px);
}

